Skip to content

Commit

Permalink
Revert "set LD_LIBRARY_PATH in nix-shell so patched drun and pocket-i…
Browse files Browse the repository at this point in the history
…c can run"

This reverts commit b4285aa.
  • Loading branch information
crusso committed May 30, 2024
1 parent a7a434f commit 87073f8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -872,12 +872,9 @@ EOF
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security
));

shellHook =
# for drun, pocket-c
let LD_LIBRARY_PATH = nixpkgs.lib.makeLibraryPath [ nixpkgs.lzma nixpkgs.stdenv.cc.cc ]; in
llvmEnv + ''
# for drun, pocket-c
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
shellHook = llvmEnv + ''
# cp -f $DRUN ./bin/drun.gz; gzip -d ./bin/drun.gz; chmod u+x ./bin/drun
# cp -f $POCKET_IC ./bin/pocket-ic.gz; gzip -d ./bin/pocket-ic.gz; chmod u+x ./bin/pocket-ic
export POCKET_IC_BIN=${drun}/bin/pocket-ic
# Include our wrappers in the PATH
export PATH="${toString ./bin}:$PATH"
Expand Down

0 comments on commit 87073f8

Please sign in to comment.