about summary refs log tree commit diff
path: root/pkgs/development/libraries/spice/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/spice/default.nix')
-rw-r--r--pkgs/development/libraries/spice/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/spice/default.nix b/pkgs/development/libraries/spice/default.nix
index d7855cd5cea5..4ac1b1cdee11 100644
--- a/pkgs/development/libraries/spice/default.nix
+++ b/pkgs/development/libraries/spice/default.nix
@@ -67,9 +67,9 @@ stdenv.mkDerivation rec {
     python3.pkgs.pyparsing
     spice-protocol
     zlib
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     gdk-pixbuf
   ];