about summary refs log tree commit diff
path: root/pkgs/shells/powershell
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-02-22 12:58:33 -0800
committerJon <jonringer@users.noreply.github.com>2020-02-22 16:00:25 -0800
commit7e1b21778500df915ac09dcf0f82467e75ec1ae9 (patch)
treebf57dadd9d0ad1649537b81e36949adf19c6351b /pkgs/shells/powershell
parentd5220977a42e4ca8838092e56cf16ab9a4959d78 (diff)
downloadnixlib-7e1b21778500df915ac09dcf0f82467e75ec1ae9.tar
nixlib-7e1b21778500df915ac09dcf0f82467e75ec1ae9.tar.gz
nixlib-7e1b21778500df915ac09dcf0f82467e75ec1ae9.tar.bz2
nixlib-7e1b21778500df915ac09dcf0f82467e75ec1ae9.tar.lz
nixlib-7e1b21778500df915ac09dcf0f82467e75ec1ae9.tar.xz
nixlib-7e1b21778500df915ac09dcf0f82467e75ec1ae9.tar.zst
nixlib-7e1b21778500df915ac09dcf0f82467e75ec1ae9.zip
powershell: update supported platforms
Diffstat (limited to 'pkgs/shells/powershell')
-rw-r--r--pkgs/shells/powershell/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/shells/powershell/default.nix b/pkgs/shells/powershell/default.nix
index faab933ae25f..d4c18f9f5815 100644
--- a/pkgs/shells/powershell/default.nix
+++ b/pkgs/shells/powershell/default.nix
@@ -30,22 +30,23 @@ stdenv.mkDerivation rec {
     mkdir -p $out/bin
     mkdir -p $out/share/powershell
     cp -r * $out/share/powershell
-    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
+    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
   '';
 
   dontStrip = true;
 
   meta = with stdenv.lib; {
     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 ];
-    platforms = platforms.unix;
+    platforms = [ "x86_64-darwin" "x86_64-linux" ];
     license = with licenses; [ mit ];
   };
 
-  passthru = { 
-    shellPath = "/bin/pwsh"; 
+  passthru = {
+    shellPath = "/bin/pwsh";
   };
 
 }