diff options
author | OPNA2608 <christoph.neidahl@gmail.com> | 2022-03-22 18:59:05 +0100 |
---|---|---|
committer | OPNA2608 <christoph.neidahl@gmail.com> | 2022-03-23 21:37:39 +0100 |
commit | d2f268745a44dfd0ff23b5a00a75c1e13279bc3d (patch) | |
tree | 196dd1900cc1b4aa1a8ca4c822d9b07668c38ade /pkgs/tools | |
parent | 48034046bf6271d44f7dea4c1ba97196b3b105a7 (diff) |
treewide: autoPatchelfHook only on Linux
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/archivers/rar/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/games/ajour/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/archi/default.nix | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/archivers/rar/default.nix b/pkgs/tools/archivers/rar/default.nix index a359beb21adf5..5a0d7e51e727b 100644 --- a/pkgs/tools/archivers/rar/default.nix +++ b/pkgs/tools/archivers/rar/default.nix @@ -32,7 +32,8 @@ stdenv.mkDerivation rec { buildInputs = [ stdenv.cc.cc.lib ]; - nativeBuildInputs = [ autoPatchelfHook installShellFiles ]; + nativeBuildInputs = [ installShellFiles ] + ++ lib.optional stdenv.isLinux autoPatchelfHook; installPhase = '' runHook preInstall diff --git a/pkgs/tools/games/ajour/default.nix b/pkgs/tools/games/ajour/default.nix index 49fef3edca9f4..11df34256d43e 100644 --- a/pkgs/tools/games/ajour/default.nix +++ b/pkgs/tools/games/ajour/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , fetchFromGitHub , rustPlatform , autoPatchelfHook @@ -79,6 +80,7 @@ in rustPlatform.buildRustPackage rec { homepage = "https://github.com/casperstorm/ajour"; changelog = "https://github.com/casperstorm/ajour/blob/master/CHANGELOG.md"; license = licenses.mit; + broken = stdenv.isDarwin; maintainers = with maintainers; [ hexa ]; }; } diff --git a/pkgs/tools/misc/archi/default.nix b/pkgs/tools/misc/archi/default.nix index d0beb7d40d75f..e6f16b93f7d2f 100644 --- a/pkgs/tools/misc/archi/default.nix +++ b/pkgs/tools/misc/archi/default.nix @@ -30,9 +30,8 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ - autoPatchelfHook makeWrapper - ]; + ] ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook; installPhase = if stdenv.hostPlatform.system == "x86_64-linux" then |