treewide: use less phases if not necessary

This removes some skipping of e.g. fixupPhase and cleans up occurences
where this led to duplicating code
This commit is contained in:
Robin Gloster
2017-08-11 11:40:36 +02:00
parent 72457cdebb
commit 28cc2642f0
16 changed files with 43 additions and 74 deletions
-4
View File
@@ -12,10 +12,6 @@ stdenv.mkDerivation rec {
owner = "facebook";
};
# The Makefiles don't properly use file targets, but blindly rebuild
# all dependencies on every make invocation. So no nice phases. :-(
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
makeFlags = [
"ZSTD_LEGACY_SUPPORT=${if legacySupport then "1" else "0"}"
];