Skip to content

Commit 5858e3a

Browse files
committed
try fixing hermes settings
1 parent ea7f37d commit 5858e3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nix/hermes.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ stdenv.mkDerivation {
6666
exec ${qemu}/bin/qemu-x86_64 $out/bin/hermes.x86_64 "\$@"
6767
EOF
6868
chmod +x $out/bin/hermes
69+
'' else if stdenv.isLinux then ''
70+
wrapProgram $out/bin/hermes --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ openssl ]}"
6971
'' else ''
70-
wrapProgram $out/bin/hermes \
71-
${lib.optionalString stdenv.isLinux "LD_LIBRARY_PATH=${lib.makeLibraryPath [ openssl ]}"}
72+
wrapProgram $out/bin/hermes
7273
''}
7374
'';
7475

0 commit comments

Comments
 (0)