diff options
Diffstat (limited to 'pkgs/development/compilers/llvm/4/clang/default.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/4/clang/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/llvm/4/clang/default.nix b/pkgs/development/compilers/llvm/4/clang/default.nix index 004893873f56..64dbaa21dd42 100644 --- a/pkgs/development/compilers/llvm/4/clang/default.nix +++ b/pkgs/development/compilers/llvm/4/clang/default.nix @@ -37,7 +37,7 @@ let patches = [ ./purity.patch ]; - postBuild = '' + postBuild = stdenv.lib.optionalString enableManpages '' cmake --build . --target docs-clang-man ''; @@ -49,7 +49,8 @@ let sed -i '1s,^,find_package(Sphinx REQUIRED)\n,' docs/CMakeLists.txt ''; - outputs = [ "out" ] ++ stdenv.lib.optional enableManpages "man" ++ [ "python" ]; + outputs = [ "out" "python" ] + ++ stdenv.lib.optional enableManpages "man"; # Clang expects to find LLVMgold in its own prefix # Clang expects to find sanitizer libraries in its own prefix @@ -68,7 +69,6 @@ let rm $out/bin/c-index-test '' + stdenv.lib.optionalString enableManpages '' - # Manually install clang manpage cp docs/man/*.1 $out/share/man/man1/ |