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 7df69e3 + 4597a9c commit af6d100Copy full SHA for af6d100
cli/default.nix
@@ -82,10 +82,10 @@ in stdenv.mkDerivation {
82
makeWrapper ${hax}/bin/cargo-hax $out/bin/cargo-hax \
83
--prefix PATH : ${lib.makeBinPath binaries} \
84
${
85
- if stdenv.hostPlatform.isDarwin then
86
- "--suffix DYLD_LIBRARY_PATH : ${lib.makeLibraryPath [ libz rustc ]}"
87
- else
88
- ""
+ lib.optionalString stdenv.isDarwin ''
+ --prefix RUSTFLAGS : "-C link-arg=-L${libiconv}/lib" \
+ --suffix DYLD_LIBRARY_PATH : ${lib.makeLibraryPath [ libz rustc ]}
+ ''
89
}
90
'';
91
meta.mainProgram = "cargo-hax";
0 commit comments