|
|
|
@ -8,7 +8,7 @@ let archString = if stdenv.isAarch64 then "arm64" |
|
|
|
|
else if stdenv.isLinux then "linux" |
|
|
|
|
else throw "unsupported platform"; |
|
|
|
|
platformSha = if stdenv.isDarwin then "0w44ws8b6zfixf7xz93hmplqsx18279n9x8j77y4rbzs13fldvsn" |
|
|
|
|
else if (stdenv.isLinux && stdenv.isx86_64) then "0xm7l49zhkz2fly3d751kjd5cy3ws9zji9i0061lkd06dvkch7jy" |
|
|
|
|
else if (stdenv.isLinux && stdenv.isx86_64) then "sha256-SOZn7CGLu9x+xhQwjgm0SL7sKDODLwHRpzi7tMdRBAM=" |
|
|
|
|
else if (stdenv.isLinux && stdenv.isAarch64) then "1axbi4kmb1ydys7c45jhp729w1srid3c8jgivb4bdmdp56rf6h32" |
|
|
|
|
else throw "unsupported platform"; |
|
|
|
|
platformLdLibraryPath = if stdenv.isDarwin then "DYLD_FALLBACK_LIBRARY_PATH" |
|
|
|
@ -19,7 +19,7 @@ let archString = if stdenv.isAarch64 then "arm64" |
|
|
|
|
in |
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "powershell"; |
|
|
|
|
version = "7.1.3"; |
|
|
|
|
version = "7.1.4"; |
|
|
|
|
|
|
|
|
|
src = fetchzip { |
|
|
|
|
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${platformString}-${archString}.tar.gz"; |
|
|
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
rm -f $pslibs/libcrypto${ext}.1.0.0 |
|
|
|
|
rm -f $pslibs/libssl${ext}.1.0.0 |
|
|
|
|
|
|
|
|
|
# At least the 7.1.3-osx package does not have the executable bit set. |
|
|
|
|
# At least the 7.1.4-osx package does not have the executable bit set. |
|
|
|
|
chmod a+x $pslibs/pwsh |
|
|
|
|
|
|
|
|
|
ls $pslibs |
|
|
|
|