about summary refs log tree commit diff
path: root/pkgs/applications/audio/spotify-qt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/spotify-qt/default.nix')
-rw-r--r--pkgs/applications/audio/spotify-qt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/audio/spotify-qt/default.nix b/pkgs/applications/audio/spotify-qt/default.nix
index 0fbf7c943842..cbe252bc2b94 100644
--- a/pkgs/applications/audio/spotify-qt/default.nix
+++ b/pkgs/applications/audio/spotify-qt/default.nix
@@ -27,7 +27,7 @@ mkDerivation rec {
 
    installFlags = [ "DESTDIR=$(out)" ];
 
-   postInstall = lib.optionalString stdenvNoCC.isDarwin ''
+   postInstall = lib.optionalString stdenvNoCC.hostPlatform.isDarwin ''
      mkdir -p $out/Applications
      mv $out/bin/spotify-qt.app $out/Applications
      ln $out/Applications/spotify-qt.app/Contents/MacOS/spotify-qt $out/bin/spotify-qt