summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell.nix2
-rw-r--r--system-profiles/core.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell.nix b/shell.nix
index e0574ac4..ad10de87 100644
--- a/shell.nix
+++ b/shell.nix
@@ -5,7 +5,7 @@ let
5 paths = [ pkgs.nixFlakes ]; 5 paths = [ pkgs.nixFlakes ];
6 buildInputs = [ pkgs.makeWrapper ]; 6 buildInputs = [ pkgs.makeWrapper ];
7 postBuild = '' 7 postBuild = ''
8 wrapProgram $out/bin/nix --add-flags '--option experimental-features "nix-command flakes ca-references"' 8 wrapProgram $out/bin/nix --add-flags '--option experimental-features "nix-command flakes"'
9 ''; 9 '';
10 }; 10 };
11in pkgs.mkShell { 11in pkgs.mkShell {
diff --git a/system-profiles/core.nix b/system-profiles/core.nix
index 61cda096..c243f857 100644
--- a/system-profiles/core.nix
+++ b/system-profiles/core.nix
@@ -47,7 +47,7 @@ in {
47 allowedUsers = [ "*" ]; 47 allowedUsers = [ "*" ];
48 trustedUsers = [ "root" "@wheel" ]; 48 trustedUsers = [ "root" "@wheel" ];
49 extraOptions = '' 49 extraOptions = ''
50 experimental-features = nix-command flakes ca-references 50 experimental-features = nix-command flakes
51 ''; 51 '';
52 nixPath = [ 52 nixPath = [
53 "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}" 53 "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}"