lol

soft-serve: fix shell hook

This adds bash to the PATH of soft-serve. This is
required for the hooks to work, since they
are implemented in bash.

dadada 63ecebe2 5c78e5b4

+4 -2
+4 -2
pkgs/servers/soft-serve/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, makeWrapper, git }: 1 + { lib, buildGoModule, fetchFromGitHub, makeWrapper, git, bash }: 2 2 3 3 buildGoModule rec { 4 4 pname = "soft-serve"; ··· 20 20 nativeBuildInputs = [ makeWrapper ]; 21 21 22 22 postInstall = '' 23 + # Soft-serve generates git-hooks at run-time. 24 + # The scripts require git and bash inside the path. 23 25 wrapProgram $out/bin/soft \ 24 - --prefix PATH : "${lib.makeBinPath [ git ]}" 26 + --prefix PATH : "${lib.makeBinPath [ git bash ]}" 25 27 ''; 26 28 27 29 meta = with lib; {