about summary refs log tree commit diff
path: root/pkgs/by-name/fa/fastqc/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/fa/fastqc/package.nix')
-rw-r--r--pkgs/by-name/fa/fastqc/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/fa/fastqc/package.nix b/pkgs/by-name/fa/fastqc/package.nix
index e7973ab0d602..9c63a98e7711 100644
--- a/pkgs/by-name/fa/fastqc/package.nix
+++ b/pkgs/by-name/fa/fastqc/package.nix
@@ -23,8 +23,8 @@ stdenv.mkDerivation (finalAttrs: {
   dontBuild = true;
 
   nativeBuildInputs = [ makeWrapper imagemagick ]
-                      ++ lib.optional stdenv.isLinux copyDesktopItems # postInstallHook
-                      ++ lib.optional stdenv.isDarwin desktopToDarwinBundle; #fixupOutputHook
+                      ++ lib.optional stdenv.hostPlatform.isLinux copyDesktopItems # postInstallHook
+                      ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle; #fixupOutputHook
   buildInputs = [ jre perl];
 
   desktopItem = (makeDesktopItem {