From: patrick-scho Date: Sat, 29 Nov 2025 13:32:06 +0000 (+0100) Subject: fix perl shebang X-Git-Url: https://gitweb.ps.run/ps-gitweb/commitdiff_plain/bf2a7a94feb03d69b01c1b352854b432b7481215 fix perl shebang --- diff --git a/Makefile b/Makefile index 818d2b5..da3a95b 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,13 @@ include shared.mak MAK_DIR_GITWEB = gitweb/ include gitweb/Makefile +ifndef PERL_PATH + PERL_PATH = /usr/bin/perl +endif +PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH)) + +export PERL_PATH + .PHONY: gitweb gitweb: $(MAK_DIR_GITWEB_ALL) ifndef NO_GITWEB diff --git a/flake.nix b/flake.nix index 5094ebe..7f24b12 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,6 @@ # Assuming source is in the same directory src = ./.; - nativeBuildInputs = [ pkgs.makeWrapper ]; buildInputs = [ pkgs.perl pkgs.gzip ] ++ perlDeps; buildFlags = [ "gitweb" ];