about summary refs log tree commit diff
path: root/pkgs/by-name/su/supersonic/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/su/supersonic/package.nix')
-rw-r--r--pkgs/by-name/su/supersonic/package.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/by-name/su/supersonic/package.nix b/pkgs/by-name/su/supersonic/package.nix
index a3674efe5d00..7964d31d9650 100644
--- a/pkgs/by-name/su/supersonic/package.nix
+++ b/pkgs/by-name/su/supersonic/package.nix
@@ -16,7 +16,7 @@
 , waylandSupport ? false
 }:
 
-assert waylandSupport -> stdenv.isLinux;
+assert waylandSupport -> stdenv.hostPlatform.isLinux;
 
 buildGoModule rec {
   pname = "supersonic" + lib.optionalString waylandSupport "-wayland";
@@ -34,7 +34,7 @@ buildGoModule rec {
   nativeBuildInputs = [
     copyDesktopItems
     pkg-config
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     desktopToDarwinBundle
   ];
 
@@ -44,20 +44,20 @@ buildGoModule rec {
   buildInputs = [
     libglvnd
     mpv-unwrapped
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     xorg.libXxf86vm
     xorg.libX11
-  ] ++ lib.optionals (stdenv.isLinux && !waylandSupport) [
+  ] ++ lib.optionals (stdenv.hostPlatform.isLinux && !waylandSupport) [
     xorg.libXrandr
     xorg.libXinerama
     xorg.libXcursor
     xorg.libXi
     xorg.libXext
-  ] ++ lib.optionals (stdenv.isLinux && waylandSupport) [
+  ] ++ lib.optionals (stdenv.hostPlatform.isLinux && waylandSupport) [
     wayland
     wayland-protocols
     libxkbcommon
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk_11_0.frameworks.Cocoa
     darwin.apple_sdk_11_0.frameworks.Kernel
     darwin.apple_sdk_11_0.frameworks.OpenGL