about summary refs log tree commit diff
path: root/pkgs/by-name/tr/trigger-control/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/tr/trigger-control/package.nix')
-rw-r--r--pkgs/by-name/tr/trigger-control/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/tr/trigger-control/package.nix b/pkgs/by-name/tr/trigger-control/package.nix
index 3398a3fe0aab..838aae472d64 100644
--- a/pkgs/by-name/tr/trigger-control/package.nix
+++ b/pkgs/by-name/tr/trigger-control/package.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
     SDL2
     dbus
     libnotify
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libdecor
   ];
 
@@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
     runHook postInstall
   '';
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     wrapProgram $out/bin/trigger-control \
       --prefix PATH : ${lib.makeBinPath [ zenity ]}
   '';