|
|
|
@ -4,8 +4,8 @@ |
|
|
|
|
let platformString = if stdenv.isDarwin then "osx" |
|
|
|
|
else if stdenv.isLinux then "linux" |
|
|
|
|
else throw "unsupported platform"; |
|
|
|
|
platformSha = if stdenv.isDarwin then "005ax54l7752lhrvlpsyn2yywr4zh58psc7sc1qv9p86d414pmkq" |
|
|
|
|
else if stdenv.isLinux then "1b3n6d2xgvqybmh61smyr415sfaymiilixlvs04yxm6ajsbnsm82" |
|
|
|
|
platformSha = if stdenv.isDarwin then "0jb2xm79m3m14zk7v730ai1zvxcb5a13jbkkya0qy7332k6gn6bl" |
|
|
|
|
else if stdenv.isLinux then "0s0jvc9ha6fw8qy7f5n0v6zf043rawsjdlm5wvqxq1q2idz7xcw1" |
|
|
|
|
else throw "unsupported platform"; |
|
|
|
|
platformLdLibraryPath = if stdenv.isDarwin then "DYLD_FALLBACK_LIBRARY_PATH" |
|
|
|
|
else if stdenv.isLinux then "LD_LIBRARY_PATH" |
|
|
|
@ -15,7 +15,7 @@ let platformString = if stdenv.isDarwin then "osx" |
|
|
|
|
in |
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "powershell"; |
|
|
|
|
version = "6.2.2"; |
|
|
|
|
version = "6.2.3"; |
|
|
|
|
|
|
|
|
|
src = fetchzip { |
|
|
|
|
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${platformString}-x64.tar.gz"; |
|
|
|
|