about summary refs log tree commit diff
path: root/pkgs/shells/powershell
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/powershell')
-rw-r--r--pkgs/shells/powershell/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/shells/powershell/default.nix b/pkgs/shells/powershell/default.nix
index a2fe61c332304..19ca69ecb9471 100644
--- a/pkgs/shells/powershell/default.nix
+++ b/pkgs/shells/powershell/default.nix
@@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ less ] ++ libraries;
-  nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
+  nativeBuildInputs = [ makeWrapper ]
+    ++ lib.optional stdenv.isLinux autoPatchelfHook;
 
   installPhase =
   let