diff options
author | Tomas Hlavaty <tom@logand.com> | 2017-06-28 20:33:58 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2017-06-28 21:11:48 +0200 |
commit | ad825384232d68998a1d9d7d0b135575485665de (patch) | |
tree | de30d6c1d016b09b34b3102c412a08c1374e9a54 /pkgs/development/compilers/ccl | |
parent | fa6e946383e5fb2d1cbe47617d34aff081a9c6f2 (diff) | |
download | nixlib-ad825384232d68998a1d9d7d0b135575485665de.tar nixlib-ad825384232d68998a1d9d7d0b135575485665de.tar.gz nixlib-ad825384232d68998a1d9d7d0b135575485665de.tar.bz2 nixlib-ad825384232d68998a1d9d7d0b135575485665de.tar.lz nixlib-ad825384232d68998a1d9d7d0b135575485665de.tar.xz nixlib-ad825384232d68998a1d9d7d0b135575485665de.tar.zst nixlib-ad825384232d68998a1d9d7d0b135575485665de.zip |
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
Diffstat (limited to 'pkgs/development/compilers/ccl')
-rw-r--r-- | pkgs/development/compilers/ccl/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ccl/default.nix b/pkgs/development/compilers/ccl/default.nix index 3e1784424e3c..76caf12ffd30 100644 --- a/pkgs/development/compilers/ccl/default.nix +++ b/pkgs/development/compilers/ccl/default.nix @@ -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; { |