Skip to content

Commit 32925f0

Browse files
committedJan 27, 2018
lispPackages: deduplicate dynamical library search path
1 parent 5e5cae0 commit 32925f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pkgs/development/lisp-modules/define-package.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let
3333
test -n "$LD_LIBRARY_PATH" &&
3434
echo "export LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}\"'$LD_LIBRARY_PATH'" >> "$path_config_script"
3535
test -n "$NIX_LISP_LD_LIBRARY_PATH" &&
36-
echo "export NIX_LISP_LD_LIBRARY_PATH=\"\$NIX_LISP_LD_LIBRARY_PATH\''${NIX_LISP_LD_LIBRARY_PATH:+:}\"'$NIX_LISP_LD_LIBRARY_PATH'" >> "$path_config_script"
36+
echo "export NIX_LISP_LD_LIBRARY_PATH=\"\$NIX_LISP_LD_LIBRARY_PATH\''${NIX_LISP_LD_LIBRARY_PATH:+:}\"'$(echo "$NIX_LISP_LD_LIBRARY_PATH" | tr -d '\n' | tr : '\n' | sort | uniq | tr '\n' ':')'" >> "$path_config_script"
3737
echo "fi" >> "$path_config_script"
3838
'';
3939
deployLaunchScript = ''

0 commit comments

Comments
 (0)
Please sign in to comment.