oh-my-posh: Add themes from source package to store

Fixes #190711
This commit is contained in:
Arjan Schrijver 2022-09-14 13:58:23 +02:00
parent 101a08b89e
commit 8f05641d12

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