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/servers/ombi | |
parent | 48034046bf6271d44f7dea4c1ba97196b3b105a7 (diff) |
treewide: autoPatchelfHook only on Linux
Diffstat (limited to 'pkgs/servers/ombi')
-rw-r--r-- | pkgs/servers/ombi/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/ombi/default.nix b/pkgs/servers/ombi/default.nix index a99349d8c0db6..93eab0bd68310 100644 --- a/pkgs/servers/ombi/default.nix +++ b/pkgs/servers/ombi/default.nix @@ -26,7 +26,8 @@ in stdenv.mkDerivation rec { sha256 = hash; }; - nativeBuildInputs = [ makeWrapper autoPatchelfHook ] + nativeBuildInputs = [ makeWrapper ] + ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; propagatedBuildInputs = [ stdenv.cc.cc zlib krb5 ]; |