all repos — nixfiles @ dc48f429240cbacdc5a3dff6b698fc297e2ab17c

System and user configuration, managed by nix and home-manager

include local sources in pinned nix path

Alan Pearce
commit

dc48f429240cbacdc5a3dff6b698fc297e2ab17c

parent

e117d4f464b801ca7905285bc158a0dcdbf35841

1 file changed, 7 insertions(+), 7 deletions(-)

changed files
M system/settings/pin.nixsystem/settings/pin.nix
@@ -1,12 +1,12 @@
-{ pkgs, ... }: let - lib = import ../../lib { inherit pkgs; }; - sources = import ../../npins; + inherit (import ../../sources.nix) nixPath sources; in { - nix.nixPath = lib.mkNixPath sources; - nix.registry.nixpkgs.to = { - type = "path"; - path = sources.nixpkgs; + nix = { + inherit nixPath; + registry.nixpkgs.to = { + type = "path"; + path = sources.nixpkgs; + }; }; }