summary refs log tree commit diff
path: root/pkgs/shells/powershell/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/powershell/default.nix')
-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 e15964720056..a053884bb885 100644
--- a/pkgs/shells/powershell/default.nix
+++ b/pkgs/shells/powershell/default.nix
@@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
     stripRoot = false;
   };
 
-  buildInputs = [ autoPatchelfHook makeWrapper less ] ++ libraries;
+  buildInputs = [ less ] ++ libraries;
+  nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
 
   # TODO: remove PAGER after upgrading to v6.1.0-preview.1 or later as it has been addressed in
   # https://github.com/PowerShell/PowerShell/pull/6144