mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
idris2: use DYLD_LIBRARY_PATH
instead of LD_LIBRARY_PATH
on macOS
macOS uses `DYLD_LIBRARY_PATH` instead of `LD_LIBRARY_PATH`.
This commit is contained in:
parent
a53d2afe68
commit
cc9186270a
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
|
||||
--suffix IDRIS2_LIBS ':' "$out/${name}/lib" \
|
||||
--suffix IDRIS2_DATA ':' "$out/${name}/support" \
|
||||
--suffix IDRIS2_PATH ':' "${additionalIdris2Paths}" \
|
||||
--suffix LD_LIBRARY_PATH ':' "$out/${name}/lib"
|
||||
--suffix ${if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH"} ':' "$out/${name}/lib"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user