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.
1 parent ea7f37d commit 5858e3aCopy full SHA for 5858e3a
nix/hermes.nix
@@ -66,9 +66,10 @@ stdenv.mkDerivation {
66
exec ${qemu}/bin/qemu-x86_64 $out/bin/hermes.x86_64 "\$@"
67
EOF
68
chmod +x $out/bin/hermes
69
+ '' else if stdenv.isLinux then ''
70
+ wrapProgram $out/bin/hermes --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ openssl ]}"
71
'' else ''
- wrapProgram $out/bin/hermes \
- ${lib.optionalString stdenv.isLinux "LD_LIBRARY_PATH=${lib.makeLibraryPath [ openssl ]}"}
72
+ wrapProgram $out/bin/hermes
73
''}
74
'';
75
0 commit comments