From a2a6f14223905fd6963e5a6e424ac1366ec220e6 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Fri, 7 Mar 2025 18:41:30 -0500 Subject: modules/nix: try to work around flake copying issues --- modules/shared/defaults/nix.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/shared/defaults') diff --git a/modules/shared/defaults/nix.nix b/modules/shared/defaults/nix.nix index f5a872f..2754355 100644 --- a/modules/shared/defaults/nix.nix +++ b/modules/shared/defaults/nix.nix @@ -43,12 +43,12 @@ in options = lib.mkDefault "--delete-older-than 5d"; }; - registry = lib.mapAttrs (lib.const (flake: { - to = lib.mkDefault { - type = "path"; - path = lib.mkForce flake.outPath; - }; - })) inputs; + registry = lib.mapAttrs (lib.const ( + flake: + lib.mkForce { + inherit flake; + } + )) inputs; nixPath = lib.mapAttrsToList (name: lib.const "${name}=flake:${name}") inputs; }; -- cgit v1.2.3