From c52fdf233bde8857e9463d1bd504e6bd9bd72921 Mon Sep 17 00:00:00 2001 From: V7 Date: Sat, 15 Jan 2022 00:56:04 +0530 Subject: [PATCH] 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` --- images/nix-flakes/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/images/nix-flakes/default.nix b/images/nix-flakes/default.nix index d1e09b9..2f0242d 100644 --- a/images/nix-flakes/default.nix +++ b/images/nix-flakes/default.nix @@ -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 ''; })