This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

wrapperModules.pi: pin package versions in settings spec

+10 -1
+10 -1
wrapperModules/pi/flake-module.nix
··· 48 48 cleanPackage = 49 49 p: 50 50 if builtins.isAttrs p then 51 - lib.filterAttrs (k: v: k != "hash" && k != "version" && k != "deps" && v != null) p 51 + let 52 + cleaned = lib.filterAttrs (k: v: k != "hash" && k != "version" && k != "deps" && v != null) p; 53 + # Embed version into source spec so pi treats it as pinned (e.g. npm:pi-hooks@1.0.3) 54 + withVersion = 55 + if p ? version && p ? source && !(lib.hasInfix "@" (lib.removePrefix "npm:" p.source)) then 56 + cleaned // { source = "${p.source}@${p.version}"; } 57 + else 58 + cleaned; 59 + in 60 + withVersion 52 61 else 53 62 p; 54 63