forked from github-mirror/docker-nixpkgs
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:
@@ -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
|
||||
'';
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user