Merge pull request #191179 from arjan-s/oh-my-posh-themes
oh-my-posh: Add themes from source package to store
This commit is contained in:
commit
1715708860
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,13 @@ buildGoModule rec {
|
|||
|
||||
ldflags = [ "-s" "-w" "-X" "main.Version=${version}" ];
|
||||
|
||||
tags = [ "netgo" "osusergo" "static_build" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/oh-my-posh
|
||||
cp -r ${src}/themes $out/share/oh-my-posh/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A prompt theme engine for any shell";
|
||||
homepage = "https://ohmyposh.dev";
|
||||
|
|
Loading…
Reference in a new issue