lispPackages: remove trailing colon from {NIX_LISP_,}LD_LIBRARY_PATH
This commit is contained in:
parent
0fadb81af4
commit
a035714be9
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ shift
|
||||||
export NIX_LISP NIX_LISP_LOAD_FILE NIX_LISP_EXEC_CODE NIX_LISP_COMMAND NIX_LISP_FINAL_PARAMETERS
|
export NIX_LISP NIX_LISP_LOAD_FILE NIX_LISP_EXEC_CODE NIX_LISP_COMMAND NIX_LISP_FINAL_PARAMETERS
|
||||||
|
|
||||||
test -n "$NIX_LISP_LD_LIBRARY_PATH" &&
|
test -n "$NIX_LISP_LD_LIBRARY_PATH" &&
|
||||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH${LD_LIBRARY_PATH+:}$NIX_LISP_LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$NIX_LISP_LD_LIBRARY_PATH"
|
||||||
|
|
||||||
declare -a NIX_LISP_FINAL_PARAMETERS;
|
declare -a NIX_LISP_FINAL_PARAMETERS;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ let
|
||||||
test -n "$LD_LIBRARY_PATH" &&
|
test -n "$LD_LIBRARY_PATH" &&
|
||||||
echo "export LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}\"'$LD_LIBRARY_PATH'" >> "$path_config_script"
|
echo "export LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}\"'$LD_LIBRARY_PATH'" >> "$path_config_script"
|
||||||
test -n "$NIX_LISP_LD_LIBRARY_PATH" &&
|
test -n "$NIX_LISP_LD_LIBRARY_PATH" &&
|
||||||
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"
|
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' ':' | sed -e 's/:$//')'" >> "$path_config_script"
|
||||||
echo "fi" >> "$path_config_script"
|
echo "fi" >> "$path_config_script"
|
||||||
'';
|
'';
|
||||||
deployLaunchScript = ''
|
deployLaunchScript = ''
|
||||||
|
@ -43,7 +43,7 @@ let
|
||||||
chmod a+x "$launch_script"
|
chmod a+x "$launch_script"
|
||||||
echo "#! /bin/sh" >> "$launch_script"
|
echo "#! /bin/sh" >> "$launch_script"
|
||||||
echo "source '$config_script'" >> "$launch_script"
|
echo "source '$config_script'" >> "$launch_script"
|
||||||
echo "export LD_LIBRARY_PATH=\"\$NIX_LISP_LD_LIBRARY_PATH\''${NIX_LISP_LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH\"" >> "$launch_script"
|
echo "test -n \"\$NIX_LISP_LD_LIBRARY_PATH\" export LD_LIBRARY_PATH=\"\$NIX_LISP_LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH\"" >> "$launch_script"
|
||||||
echo '"${clwrapper}/bin/common-lisp.sh" "$@"' >> "$launch_script"
|
echo '"${clwrapper}/bin/common-lisp.sh" "$@"' >> "$launch_script"
|
||||||
'';
|
'';
|
||||||
moveAsdFiles = ''
|
moveAsdFiles = ''
|
||||||
|
|
Loading…
Reference in a new issue