Skip to content

Commit ccd6ec2

Browse files
Tomas Hlavatyvcunat
Tomas Hlavaty
authored andcommittedJul 1, 2017
ccl: create ccl symlink
Make it more intuitive for users to start ccl and avoid platform dependent executable names. #26934 (cherry picked from commit ad82538) It seems a rather safe change.
1 parent 84eeefe commit ccd6ec2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkgs/development/compilers/ccl/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ stdenv.mkDerivation rec {
6868
mkdir -p "$out/bin"
6969
echo -e '#!/bin/sh\n'"$out/share/ccl-installation/${CCL_RUNTIME}"' "$@"\n' > "$out"/bin/"${CCL_RUNTIME}"
7070
chmod a+x "$out"/bin/"${CCL_RUNTIME}"
71+
ln -s "$out"/bin/"${CCL_RUNTIME}" "$out"/bin/ccl
7172
'';
7273

7374
meta = with stdenv.lib; {

0 commit comments

Comments
 (0)