Skip to content

Commit

Permalink
postgresqlJitPackages.lantern: fix build
Browse files Browse the repository at this point in the history
The link_llvm_objects.sh script used a hardcoded /bin/bash shebang,
which failed during a JIT-enabled build.
  • Loading branch information
wolfgangwalther committed Oct 27, 2024
1 parent 203af24 commit 357b7aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/servers/sql/postgresql/ext/lantern.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ stdenv.mkDerivation (finalAttrs: {
fetchSubmodules = true;
};

postPatch = ''
patchShebangs --build scripts/link_llvm_objects.sh
'';

nativeBuildInputs = [
cmake
];
Expand Down

0 comments on commit 357b7aa

Please sign in to comment.