Skip to content

Commit

Permalink
feat: Allow Nix to accept nixConfig by default (#37)
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
maydayv7 committed Jan 14, 2022
1 parent d0ece3e commit c52fdf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/nix-flakes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
})
Expand Down

0 comments on commit c52fdf2

Please sign in to comment.