summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorMatthew Glazar <strager.nds@gmail.com>2018-04-15 21:06:16 -0700
committerMatthew Glazar <strager.nds@gmail.com>2018-04-15 21:10:22 -0700
commitd3d0c0196ebffe23eaab27086ef1a426990ef3cc (patch)
tree316ddde3bd8335d34c3c2a2b13dcc80045c8e702 /pkgs/development/compilers
parent31effc1d7d53aad838c912aa700cebe127bbc8e4 (diff)
downloadnixlib-d3d0c0196ebffe23eaab27086ef1a426990ef3cc.tar
nixlib-d3d0c0196ebffe23eaab27086ef1a426990ef3cc.tar.gz
nixlib-d3d0c0196ebffe23eaab27086ef1a426990ef3cc.tar.bz2
nixlib-d3d0c0196ebffe23eaab27086ef1a426990ef3cc.tar.lz
nixlib-d3d0c0196ebffe23eaab27086ef1a426990ef3cc.tar.xz
nixlib-d3d0c0196ebffe23eaab27086ef1a426990ef3cc.tar.zst
nixlib-d3d0c0196ebffe23eaab27086ef1a426990ef3cc.zip
clang: refactor post-install comments
Throughout the evolution of the Clang packages, some comments have
become misplaced. Put some of Clang's postInstall comments next to the
lines they refer to.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/llvm/5/clang/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/llvm/5/clang/default.nix b/pkgs/development/compilers/llvm/5/clang/default.nix
index b5aea54b5771..8a25db3ef41a 100644
--- a/pkgs/development/compilers/llvm/5/clang/default.nix
+++ b/pkgs/development/compilers/llvm/5/clang/default.nix
@@ -50,10 +50,10 @@ let
 
     outputs = [ "out" "lib" "python" ];
 
-    # Clang expects to find LLVMgold in its own prefix
-    # Clang expects to find sanitizer libraries in its own prefix
     postInstall = ''
+      # Clang expects to find LLVMgold in its own prefix
       ln -sv ${llvm}/lib/LLVMgold.so $out/lib
+      # Clang expects to find sanitizer libraries in its own prefix
       ln -sv ${llvm}/lib/clang/${release_version}/lib $out/lib/clang/${release_version}/
       ln -sv $out/bin/clang $out/bin/cpp