From 357b7aabfee33c755a774d6c73006b22cb503cb4 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 27 Oct 2024 09:00:40 +0100 Subject: [PATCH] postgresqlJitPackages.lantern: fix build The link_llvm_objects.sh script used a hardcoded /bin/bash shebang, which failed during a JIT-enabled build. --- pkgs/servers/sql/postgresql/ext/lantern.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/sql/postgresql/ext/lantern.nix b/pkgs/servers/sql/postgresql/ext/lantern.nix index 118c19699292a..9f370c327cab5 100644 --- a/pkgs/servers/sql/postgresql/ext/lantern.nix +++ b/pkgs/servers/sql/postgresql/ext/lantern.nix @@ -19,6 +19,10 @@ stdenv.mkDerivation (finalAttrs: { fetchSubmodules = true; }; + postPatch = '' + patchShebangs --build scripts/link_llvm_objects.sh + ''; + nativeBuildInputs = [ cmake ];