powershell: update supported platforms
This commit is contained in:
parent
d5220977a4
commit
7e1b217785
@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mkdir -p $out/share/powershell
|
mkdir -p $out/share/powershell
|
||||||
cp -r * $out/share/powershell
|
cp -r * $out/share/powershell
|
||||||
makeWrapper $out/share/powershell/pwsh $out/bin/pwsh --prefix ${platformLdLibraryPath} : "${stdenv.lib.makeLibraryPath libraries}" \
|
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
|
--set TERM xterm --set POWERSHELL_TELEMETRY_OPTOUT 1 --set DOTNET_CLI_TELEMETRY_OPTOUT 1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -38,9 +39,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework";
|
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 ];
|
maintainers = [ maintainers.yrashk ];
|
||||||
platforms = platforms.unix;
|
platforms = [ "x86_64-darwin" "x86_64-linux" ];
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user