mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
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";
|
name = "nix.conf";
|
||||||
destination = "/etc/nix/nix.conf";
|
destination = "/etc/nix/nix.conf";
|
||||||
text = ''
|
text = ''
|
||||||
|
accept-flake-config = true
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user