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:
parent
d0ece3e2a4
commit
c52fdf233b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue