about summary refs log tree commit diff
path: root/pkgs/servers/ombi
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2022-03-26 16:01:56 -0500
committerGitHub <noreply@github.com>2022-03-26 16:01:56 -0500
commited863440b8dcc1a18bbe612db28afd458bb58eef (patch)
tree060b95ffeb2deead5a7779a72bf48810daed3a3c /pkgs/servers/ombi
parent77dc421883b42aff99b04b3077ae9ab36af7ed90 (diff)
parentb07c5b829aa1f44cc314b13fd7d9072560cba605 (diff)
Merge pull request #163924 from OPNA2608/fix/autoPatchelfHook_isLinux
Diffstat (limited to 'pkgs/servers/ombi')
-rw-r--r--pkgs/servers/ombi/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/ombi/default.nix b/pkgs/servers/ombi/default.nix
index 15c4c08888bcd..e0eac1b8c04cf 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 ];