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 --- system/settings/pin.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'system/settings') diff --git a/system/settings/pin.nix b/system/settings/pin.nix index 381115bd..533149fe 100644 --- a/system/settings/pin.nix +++ b/system/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; + }; }; } -- cgit 1.4.1