feat: Allow Nix to accept nixConfig by default (#37)

This is useful when Nix (with Flakes enabled) is used with Continuous Integration in order to perform actions on a project having `nixConfig` defined in `flake.nix`
This commit is contained in:
V7 2022-01-15 00:56:04 +05:30 committed by GitHub
parent d0ece3e2a4
commit c52fdf233b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ docker-nixpkgs.nix.override {
name = "nix.conf";
destination = "/etc/nix/nix.conf";
text = ''
accept-flake-config = true
experimental-features = nix-command flakes
'';
})