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:
Mario Rodas 2022-09-24 11:57:06 -05:00 committed by GitHub
commit 1715708860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";