summaryrefslogtreecommitdiff
path: root/modules/shared/defaults
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-07 18:41:30 -0500
committergetchoo-bot[bot] <183349775+getchoo-bot[bot]@users.noreply.github.com>2025-03-08 01:30:54 +0000
commita2a6f14223905fd6963e5a6e424ac1366ec220e6 (patch)
tree9e69cce4b2faee4b9afe4f235b01c78b91e94091 /modules/shared/defaults
parentb97efe91b5ee07813b740ffc45bc0cc7d4d94a23 (diff)
modules/nix: try to work around flake copying issues
Diffstat (limited to 'modules/shared/defaults')
-rw-r--r--modules/shared/defaults/nix.nix12
1 files changed, 6 insertions, 6 deletions
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;
};