Skip to content

Commit

Permalink
Merge pull request #3219 from input-output-hk/chore/lw-10649-no-ld-li…
Browse files Browse the repository at this point in the history
…brary-path

[LW-10649] Unset `LD_LIBRARY_PATH` on Linux
  • Loading branch information
michalrus authored Aug 21, 2024
2 parents 98cc4a2 + 70134cf commit d67f1fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## vNext

### Chores

- Unset `LD_LIBRARY_PATH` on Linux ([PR 3219](https://github.com/input-output-hk/daedalus/pull/3219))

## 6.0.0

### Chores
Expand Down
6 changes: 6 additions & 0 deletions nix/internal/x86_64-linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@ in rec {
cp ${pkgs.writeText "daedalus" ''
#!/bin/sh
if [ -n "$LD_LIBRARY_PATH" ]; then
echo >&2 'Warning: ‘LD_LIBRARY_PATH’ is set, it’s been known to cause problems in the past, unsetting it.'
unset LD_LIBRARY_PATH
fi
set -ex
ENTRYPOINT_DIR="$(dirname "$(dirname "$(readlink -f "$0")")")"
Expand Down

0 comments on commit d67f1fe

Please sign in to comment.