about summary refs log tree commit diff
path: root/pkgs/applications/audio/mixxx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/mixxx/default.nix')
-rw-r--r--pkgs/applications/audio/mixxx/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/audio/mixxx/default.nix b/pkgs/applications/audio/mixxx/default.nix
index 8ef52e90f790..90bc03610318 100644
--- a/pkgs/applications/audio/mixxx/default.nix
+++ b/pkgs/applications/audio/mixxx/default.nix
@@ -132,7 +132,7 @@ mkDerivation rec {
     "-DINSTALL_USER_UDEV_RULES=OFF"
   ];
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     rules="$src/res/linux/mixxx-usb-uaccess.rules"
     if [ ! -f "$rules" ]; then
         echo "$rules is missing, must update the Nix file."