Skip to content

Commit

Permalink
powershell: 6.1.0 -> 6.1.1
Browse files Browse the repository at this point in the history
Also correct `platforms` to include darwin.
  • Loading branch information
worldofpeace committed Nov 24, 2018
1 parent d208fa5 commit 38f61e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/shells/powershell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 "0jngmqxjiiz5dpgky027wl0s3nn321rxs6kxab27kmp031j65x8g"
else if stdenv.isLinux then "0nmqv32mck16b7zljfpb9ydg3h2jvcqrid9ga2i5wac26x3ix531"
platformSha = if stdenv.isDarwin then "1zm5q25ny2x6wvdqfrc380467zq0nbrzh2rzldwdkdpkb6wbvpj8"
else if stdenv.isLinux then "0wh5vvh8pk75fy37bm5av4xvp76slqyjhb6a0al55vw9rlg5q3xw"
else throw "unsupported platform";
platformLdLibraryPath = if stdenv.isDarwin then "DYLD_FALLBACK_LIBRARY_PATH"
else if stdenv.isLinux then "LD_LIBRARY_PATH"
Expand All @@ -14,7 +14,7 @@ let platformString = if stdenv.isDarwin then "osx"
in
stdenv.mkDerivation rec {
name = "powershell-${version}";
version = "6.1.0";
version = "6.1.1";

src = fetchzip {
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${platformString}-x64.tar.gz";
Expand All @@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
description = "Cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework";
homepage = https://github.com/PowerShell/PowerShell;
maintainers = [ maintainers.yrashk ];
platforms = platforms.unix;
platforms = with platforms; unix ++ darwin;
license = with licenses; [ mit ];
};

Expand Down

0 comments on commit 38f61e9

Please sign in to comment.