From dc48f429240cbacdc5a3dff6b698fc297e2ab17c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 6 Jun 2024 13:29:21 +0200 Subject: include local sources in pinned nix path --- sources.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sources.nix (limited to 'sources.nix') diff --git a/sources.nix b/sources.nix new file mode 100644 index 00000000..8bcc5a4f --- /dev/null +++ b/sources.nix @@ -0,0 +1,15 @@ +let + sources = import ./npins; + pkgs = import sources.nixpkgs { }; + inherit (import ./lib { inherit pkgs; }) mkNixPath fromSources; + + allSources = { + personal = ./packages; + nixpkgs-overlays = ./overlays; + private = ./private; + } // (fromSources sources); +in +{ + sources = allSources; + nixPath = mkNixPath allSources; +} -- cgit 1.4.1