about summary refs log tree commit diff
path: root/pkgs/applications/file-managers/lf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/file-managers/lf/default.nix')
-rw-r--r--pkgs/applications/file-managers/lf/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/file-managers/lf/default.nix b/pkgs/applications/file-managers/lf/default.nix
index 5e6c09b89c89e..9bbe32fd298e2 100644
--- a/pkgs/applications/file-managers/lf/default.nix
+++ b/pkgs/applications/file-managers/lf/default.nix
@@ -24,7 +24,7 @@ buildGoModule rec {
 
   # Force the use of the pure-go implementation of the os/user library.
   # Relevant issue: https://github.com/gokcehan/lf/issues/191
-  tags = lib.optionals (!stdenv.isDarwin) [ "osusergo" ];
+  tags = lib.optionals (!stdenv.hostPlatform.isDarwin) [ "osusergo" ];
 
   postInstall = ''
     install -D --mode=444 lf.desktop $out/share/applications/lf.desktop