From 2f02f72e28f380e730c99ddf8504cb60d04aa99e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 2 Sep 2023 20:10:07 -0600 Subject: [PATCH] [NixOS] Half fix for evaluation of in nix commands See https://github.com/NixOS/nix/issues/8890 --- nixos/nix.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/nix.nix b/nixos/nix.nix index fd1f6447..14072fe3 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -19,7 +19,7 @@ home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - nix = { + nix = rec { extraOptions = '' experimental-features = nix-command flakes ''; @@ -32,6 +32,7 @@ nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ]; + settings.nix-path = nixPath; }; nixpkgs.overlays = [