From e45ae1b10dd5e1b3e8f3d4b3d45e3b6b3a443c4b Mon Sep 17 00:00:00 2001 From: uku Date: Sat, 2 Nov 2024 19:38:51 +0100 Subject: [PATCH] fix: set nix path manually --- configs/common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/common.nix b/configs/common.nix index 97fa3ef..bd107d8 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -92,6 +92,8 @@ in { nix = { package = pkgs.nixVersions.latest; channel.enable = false; + # The `flake:` syntax in `$NIX_PATH` seems to do some weird copying on Nix 2.24 + nixPath = ["nixpkgs=${config.nixpkgs.flake.source}"]; gc = { automatic = true; @@ -132,6 +134,7 @@ in { nixpkgs = { config.allowUnfree = true; + flake.setNixPath = false; overlays = [(import ../exprs/overlay.nix vencord)]; };