Skip to content

Commit

Permalink
llvm-{4,5}: don't disable manpages on musl
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Feb 8, 2018
1 parent 59b9f9f commit 8f4fb17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/4/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let
clang-tools-extra_src = fetch "clang-tools-extra" "1dhmp7ccfpr42bmvk3kp37ngjpf3a9m5d4kkpsn7d00hzi7fdl9m";

# Add man output without introducing extra dependencies.
buildManPages = stdenv.buildPlatform == stdenv.hostPlatform && !stdenv.hostPlatform.isMusl;
buildManPages = stdenv.buildPlatform == stdenv.hostPlatform;
overrideManOutput = drv:
if (!buildManPages) then drv else
let drv-manpages = drv.override { enableManpages = true; }; in
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let
clang-tools-extra_src = fetch "clang-tools-extra" "09fjii7w43kvxvsxxs6gig9vz95vnvx1779rqd36h8kksvws3bcs";

# Add man output without introducing extra dependencies.
buildManPages = stdenv.buildPlatform == stdenv.hostPlatform && !stdenv.hostPlatform.isMusl;
buildManPages = stdenv.buildPlatform == stdenv.hostPlatform;
overrideManOutput = drv:
if (!buildManPages) then drv else
let drv-manpages = drv.override { enableManpages = true; }; in
Expand Down

0 comments on commit 8f4fb17

Please sign in to comment.