Merge pull request #209799 from urandom2/oh-my-posh
oh-my-posh: 12.26.2 -> 12.35.2
This commit is contained in:
commit
3c7dd7e3f4
1 changed files with 4 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue