all repos — nixfiles @ 802741a5292636b9a1619c712e128a77976e9d31

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

add local submodules to nix path

Alan Pearce
commit

802741a5292636b9a1619c712e128a77976e9d31

parent

15062a1bf490549f2c2a70938f6ff3a1bcbe2650

1 file changed, 10 insertions(+), 2 deletions(-)

changed files
M shell.nixshell.nix
@@ -3,9 +3,17 @@ sources = import ./npins;
nixpkgs = sources.nixpkgs; pkgs = import nixpkgs { }; - lib = import ./lib { inherit pkgs; }; + inherit (pkgs) lib; + # lib = import ./lib { inherit pkgs; }; + inherit (import ./lib { inherit pkgs; }) mkNixPath fromSources; - nixPath = builtins.concatStringsSep ":" (lib.mkNixPath sources); + nixPath = builtins.concatStringsSep ":" (mkNixPath + ({ + personal = ./packages; + nixpkgs-overlays = ./overlays; + private = ./private; + } // (fromSources sources)) + ); in pkgs.mkShell {