diff --git a/pkgs/development/tools/oh-my-posh/default.nix b/pkgs/development/tools/oh-my-posh/default.nix index 14c9f00cf240..23d8650547ed 100644 --- a/pkgs/development/tools/oh-my-posh/default.nix +++ b/pkgs/development/tools/oh-my-posh/default.nix @@ -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";