Skip to content

Commit

Permalink
ccl: create ccl symlink
Browse files Browse the repository at this point in the history
Make it more intuitive for users to start ccl and avoid platform
dependent executable names.

#26934
  • Loading branch information
Tomas Hlavaty authored and 7c6f434c committed Jun 28, 2017
1 parent fa6e946 commit ad82538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/ccl/default.nix
Expand Up @@ -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; {
Expand Down

0 comments on commit ad82538

Please sign in to comment.