about summary refs log tree commit diff
diff options
context:
space:
mode:
authorColin Arnott <colin@urandom.co.uk>2023-01-09 01:45:41 +0000
committerColin Arnott <colin@urandom.co.uk>2023-01-09 02:07:16 +0000
commitd2b675a9cbf3c9d5021d31cf8d7918017a29dd53 (patch)
tree60c9f4f56c04b5487984575ff7a92834d8f31bad
parent4a26f8d27da34b2792cf6d27c7bb8f1eac0f0f91 (diff)
oh-my-posh: 12.26.2 -> 12.35.2
While validating this fix, it was noticed that the oh-my-posh binary
became src. This had to be manually corrected.

Closes #209783
-rw-r--r--pkgs/development/tools/oh-my-posh/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/tools/oh-my-posh/default.nix b/pkgs/development/tools/oh-my-posh/default.nix
index 3094937a7e364..45abd9cd83b4d 100644
--- a/pkgs/development/tools/oh-my-posh/default.nix
+++ b/pkgs/development/tools/oh-my-posh/default.nix
@@ -6,16 +6,16 @@
 
 buildGoModule rec {
   pname = "oh-my-posh";
-  version = "12.26.2";
+  version = "12.35.2";
 
   src = fetchFromGitHub {
     owner = "jandedobbeleer";
     repo = pname;
     rev = "refs/tags/v${version}";
-    hash = "sha256-WznHvGNpb2iGz+jZFtphkxsGeT0Y25CO5MMjmAl7GV0=";
+    hash = "sha256-6w8m7AuSEFhoYhjAJMXmwpsYuIMCvTiFKasUnBgYYCM=";
   };
 
-  vendorHash = "sha256-OrtKFkWXqVoXKmN6BT8YbCNjR1gRTT4gPNwmirn7fjU=";
+  vendorHash = "sha256-WiH4qu8DODEhAkxUm6VDcBwFyQO7kNjaiaWPDHCHj9E=";
 
   sourceRoot = "source/src";
 
@@ -36,6 +36,7 @@ buildGoModule rec {
   ];
 
   postInstall = ''
+    mv $out/bin/{src,oh-my-posh}
     mkdir -p $out/share/oh-my-posh
     cp -r ${src}/themes $out/share/oh-my-posh/
     installShellCompletion --cmd oh-my-posh \