cardinal: use suffix instead of prefix in wrapProgram (#357036)

This commit is contained in:
Matthew Croughan
2024-11-18 21:50:47 +00:00
committed by GitHub
+2 -2
View File
@@ -72,10 +72,10 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/Cardinal \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libjack2 ]}
--suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libjack2 ]}
wrapProgram $out/bin/CardinalMini \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libjack2 ]}
--suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libjack2 ]}
# this doesn't work and is mainly just a test tool for the developers anyway.
rm -f $out/bin/CardinalNative