aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/shells/powershell
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
committerKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
commit96f063dd321abc80ecaa156226cfb7cf9540315a (patch)
tree7a53ef61484fc7bfff6419b1fd635c67199f27d2 /nixpkgs/pkgs/shells/powershell
parentaf58f08d3d524e7b008b73a8497ea710915ffaf1 (diff)
parentd96bd3394b734487d1c3bfbac0e8f17465e03afe (diff)
Merge commit 'd96bd3394b734487d1c3bfbac0e8f17465e03afe'
Diffstat (limited to 'nixpkgs/pkgs/shells/powershell')
-rw-r--r--nixpkgs/pkgs/shells/powershell/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/shells/powershell/default.nix b/nixpkgs/pkgs/shells/powershell/default.nix
index faab933ae25..d4c18f9f581 100644
--- a/nixpkgs/pkgs/shells/powershell/default.nix
+++ b/nixpkgs/pkgs/shells/powershell/default.nix
@@ -30,22 +30,23 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
mkdir -p $out/share/powershell
cp -r * $out/share/powershell
- makeWrapper $out/share/powershell/pwsh $out/bin/pwsh --prefix ${platformLdLibraryPath} : "${stdenv.lib.makeLibraryPath libraries}" \
- --set TERM xterm --set POWERSHELL_TELEMETRY_OPTOUT 1 --set DOTNET_CLI_TELEMETRY_OPTOUT 1
+ makeWrapper $out/share/powershell/pwsh $out/bin/pwsh \
+ --prefix ${platformLdLibraryPath} : "${stdenv.lib.makeLibraryPath libraries}" \
+ --set TERM xterm --set POWERSHELL_TELEMETRY_OPTOUT 1 --set DOTNET_CLI_TELEMETRY_OPTOUT 1
'';
dontStrip = true;
meta = with stdenv.lib; {
description = "Cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework";
- homepage = https://github.com/PowerShell/PowerShell;
+ homepage = "https://github.com/PowerShell/PowerShell";
maintainers = [ maintainers.yrashk ];
- platforms = platforms.unix;
+ platforms = [ "x86_64-darwin" "x86_64-linux" ];
license = with licenses; [ mit ];
};
- passthru = {
- shellPath = "/bin/pwsh";
+ passthru = {
+ shellPath = "/bin/pwsh";
};
}