tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
powershell: 7.3.9 -> 7.4.0
Weijia Wang
2 years ago
d005b1ee
5d11cc77
+5
-9
1 changed file
expand all
collapse all
unified
split
pkgs
shells
powershell
default.nix
+5
-9
pkgs/shells/powershell/default.nix
···
29
29
in
30
30
stdenv.mkDerivation rec {
31
31
pname = "powershell";
32
32
-
version = "7.3.9";
32
32
+
version = "7.4.0";
33
33
34
34
src = passthru.sources.${stdenv.hostPlatform.system}
35
35
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
···
70
70
--set POWERSHELL_TELEMETRY_OPTOUT 1 \
71
71
--set DOTNET_CLI_TELEMETRY_OPTOUT 1
72
72
73
73
-
'' + lib.optionalString (stdenv.isLinux && stdenv.isx86_64) ''
74
74
-
patchelf --replace-needed libcrypto${ext}.1.0.0 libcrypto${ext} $out/share/powershell/libmi.so
75
75
-
patchelf --replace-needed libssl${ext}.1.0.0 libssl${ext} $out/share/powershell/libmi.so
76
76
-
77
73
'' + lib.optionalString stdenv.isLinux ''
78
74
patchelf --replace-needed liblttng-ust${ext}.0 liblttng-ust${ext}.1 $out/share/powershell/libcoreclrtraceptprovider.so
79
75
···
88
84
sources = {
89
85
aarch64-darwin = fetchurl {
90
86
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-osx-arm64.tar.gz";
91
91
-
hash = "sha256-g63hMkJUIYFpSl9NylCQs0WYdq/8S3UaFVtRjhZOs+s=";
87
87
+
hash = "sha256-FnT91XGMr7gE7/dYX+i3BBNiMiqpRODS+BbKHXXmNR8=";
92
88
};
93
89
aarch64-linux = fetchurl {
94
90
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-linux-arm64.tar.gz";
95
95
-
hash = "sha256-zy6VZyXj9TV5QlVFnCgiB6XfIOyS79kPOFhvMRpOrP4=";
91
91
+
hash = "sha256-E9MXYQuhM8ACmQxAYiqIaYk2hGBFGAmGHzeMJXMJifQ=";
96
92
};
97
93
x86_64-darwin = fetchurl {
98
94
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-osx-x64.tar.gz";
99
99
-
hash = "sha256-DI+m3Ik1Zw293H6VR19DNAECBApqdIENlrK2/D/3vNc=";
95
95
+
hash = "sha256-i2vQtNp6wgU2g+0pizlviSn/XKO4AwZcc29TIJ6BXBM=";
100
96
};
101
97
x86_64-linux = fetchurl {
102
98
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-linux-x64.tar.gz";
103
103
-
hash = "sha256-eHlh46eV+g3eCiKalVGixwKY9mlk2lXRwUJF6By5lP0=";
99
99
+
hash = "sha256-qoLD6SQVA7UtsYJ+P9f8CZ2nT4KLoDLptyblDHK0vuU=";
104
100
};
105
101
};
106
102
tests.version = testers.testVersion {