about summary refs log tree commit diff
path: root/pkgs/shells/fish/plugins/fzf-fish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/fish/plugins/fzf-fish.nix')
-rw-r--r--pkgs/shells/fish/plugins/fzf-fish.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/fish/plugins/fzf-fish.nix b/pkgs/shells/fish/plugins/fzf-fish.nix
index 3a70c888c352..1ad4764c46c5 100644
--- a/pkgs/shells/fish/plugins/fzf-fish.nix
+++ b/pkgs/shells/fish/plugins/fzf-fish.nix
@@ -31,7 +31,7 @@ buildFishPlugin rec {
     # Disable tests that are failing, because there is not 'rev' command
     rm tests/preview_file/custom_file_preview.fish
   '' + (
-    if stdenv.isDarwin then ''script /dev/null fish -c "fishtape tests/*/*.fish"''
+    if stdenv.hostPlatform.isDarwin then ''script /dev/null fish -c "fishtape tests/*/*.fish"''
     else ''script -c 'fish -c "fishtape tests/*/*.fish"' ''
   );