From ad825384232d68998a1d9d7d0b135575485665de Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty Date: Wed, 28 Jun 2017 20:33:58 +0200 Subject: [PATCH] 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 --- pkgs/development/compilers/ccl/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/ccl/default.nix b/pkgs/development/compilers/ccl/default.nix index 3e1784424e3..76caf12ffd3 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; {