alpmestan / ghc.nix

Nix (shell) expression for working on GHC
https://haskell.org/ghc/
BSD 3-Clause "New" or "Revised" License
143 stars 51 forks source link

GHC.nix script doesn't work on strict mode #183

Open eldritch-cookie opened 1 year ago

eldritch-cookie commented 1 year ago

it is recommended to use bash strict mode for scripts like for direnv, currently due to the line export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${lib.makeLibraryPath depsSystem}" it fails on strict mode if LD_LIBRARY_PATH is unset