treewide: autoPatchelfHook only on Linux

This commit is contained in:
OPNA2608
2022-03-22 18:59:05 +01:00
parent 48034046bf
commit d2f268745a
42 changed files with 106 additions and 45 deletions

View File

@@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [ less ] ++ libraries;
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
nativeBuildInputs = [ makeWrapper ]
++ lib.optional stdenv.isLinux autoPatchelfHook;
installPhase =
let