minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/pkgs/by-name/ps/psc-package
Literal references a .dylib nameGitHub release asset URL template
SHA-256fdd63856b50cb9898d432328d0292e96aec414e37a3c434e0348d79300352330
MaleculeH₂(CmF)
Evidence
22:18… tPlatform.isDarwin then
23 fetchurl {
24 url = "https://github.com/purescript/psc-package/releases/download/v0.6.2/macos.tar.gz";
25 sha256 = "17dh3bc5b6ahfyx0pi6n9qnrhsyi83qdynnca6k1kamxwjimpcq1";
26 }
27 else
28 fetchurl { …
48 install -D -m555 -T psc-package $PSC_PACKAGE
49 chmod u+w $PSC_PACKAGE
50 ''
51 + lib.optionalString stdenv.hostPlatform.isDarwin ''
52 install_name_tool \
53 -change /usr/lib/libiconv.2.dylib ${libiconv}/libiconv.2.dylib \
54 $PSC_PACKAGE
55 ''
56 + lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
57 patchelf --interpreter ${dynamic-linker} --set-r …
65:34… completion-script $PSC_PACKAGE)
66 '';
67
68 meta = with lib; {
69 description = "Package manager for PureScript based on package sets";
70 mainProgram = "psc-package";
71 license = licenses.bsd3 …