about summary refs log tree commit diff
path: root/pkgs/shells/bash/bash-completion/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/bash/bash-completion/default.nix')
-rw-r--r--pkgs/shells/bash/bash-completion/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/bash/bash-completion/default.nix b/pkgs/shells/bash/bash-completion/default.nix
index 9e65dcd7c289..6408f0610ff6 100644
--- a/pkgs/shells/bash/bash-completion/default.nix
+++ b/pkgs/shells/bash/bash-completion/default.nix
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
       --ignore=test/t/test_screen.py
   '';
 
-  prePatch = lib.optionalString stdenv.isDarwin ''
+  prePatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     sed -i -e 's/readlink -f/readlink/g' bash_completion completions/*
   '';