mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
ccl: create ccl symlink
Make it more intuitive for users to start ccl and avoid platform dependent executable names. https://github.com/NixOS/nixpkgs/issues/26934
This commit is contained in:
parent
fa6e946383
commit
ad82538423
|
@ -68,6 +68,7 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p "$out/bin"
|
||||
echo -e '#!/bin/sh\n'"$out/share/ccl-installation/${CCL_RUNTIME}"' "$@"\n' > "$out"/bin/"${CCL_RUNTIME}"
|
||||
chmod a+x "$out"/bin/"${CCL_RUNTIME}"
|
||||
ln -s "$out"/bin/"${CCL_RUNTIME}" "$out"/bin/ccl
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue