logseq: patch pre-built node modules

This commit is contained in:
Maximilian Marx 2024-04-24 02:01:16 +02:00
parent db8fa1117c
commit 1c6fe65296
No known key found for this signature in database
GPG Key ID: D981CA0FF602751D

View File

@ -5,6 +5,7 @@
, makeWrapper
# graphs will not sync without matching upstream's major electron version
, electron_27
, autoPatchelfHook
, git
, nix-update-script
}:
@ -30,7 +31,8 @@ in {
dontConfigure = true;
dontBuild = true;
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
buildInputs = [ stdenv.cc.cc.lib ];
installPhase = ''
runHook preInstall