From bf2a7a94feb03d69b01c1b352854b432b7481215 Mon Sep 17 00:00:00 2001 From: patrick-scho Date: Sat, 29 Nov 2025 14:32:06 +0100 Subject: [PATCH] fix perl shebang --- Makefile | 7 +++++++ flake.nix | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) 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" ]; -- 2.50.1