mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
ncurses: use more complicated expression to avoid mass-rebuilds, note
This commit is contained in:
parent
96f0d3b908
commit
48a5212c15
@ -22,7 +22,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "11adzj0k82nlgpfrflabvqn2m7fmhp2y6pd7ivmapynxqb9vvb92";
|
||||
});
|
||||
|
||||
patches = lib.optionals (abiVersion == "5") [ ./clang.patch ./gcc-5.patch ];
|
||||
# Unnecessarily complicated in order to avoid mass-rebuilds
|
||||
patches = lib.optional (!stdenv.cc.isClang || abiVersion == "5") ./clang.patch
|
||||
++ lib.optional (stdenv.cc.isGNU && abiVersion == "5") ./gcc-5.patch;
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
setOutputFlags = false; # some aren't supported
|
||||
|
Loading…
Reference in New Issue
Block a user