We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45d55ab + bed1d1e commit 56fea72Copy full SHA for 56fea72
pkgs/by-name/rp/rpm-sequoia/package.nix
@@ -55,13 +55,17 @@ rustPlatform.buildRustPackage rec {
55
''
56
+
57
# Dependents will rely on the versioned symlinks
58
- ''
+ lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
59
install -d $out/lib
60
find target/release/ \
61
-maxdepth 1 \
62
-type l -name 'librpm_sequoia.*' \
63
-exec cp --no-dereference {} $out/lib/ \;
64
- '';
+ ''
65
+ + lib.optionalString stdenv.hostPlatform.isDarwin ''
66
+ install -d $out/lib
67
+ ln -s librpm_sequoia.dylib $out/lib/librpm_sequoia.${version}.dylib
68
+ '';
69
70
passthru.updateScript = nix-update-script { };
71
0 commit comments