taler-wallet-core: fix build

This commit is contained in:
Weijia Wang 2025-01-23 21:18:11 +01:00
parent a37ebead17
commit 7ae420987c

View File

@ -7,7 +7,7 @@
fetchgit,
srcOnly,
removeReferencesTo,
nodejs,
nodejs_20,
pnpm_9,
python3,
git,
@ -15,7 +15,7 @@
zip,
}:
let
nodeSources = srcOnly nodejs;
nodeSources = srcOnly nodejs_20;
esbuild' = esbuild.override {
buildGoModule =
args:
@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
customPython
nodejs
nodejs_20
pnpm_9.configHook
git
jq
@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-BVVmv0VVvQ2YhL0zOKiM1oVKJKvqwMGNR47DkcCj874=";
};
buildInputs = [ nodejs ];
buildInputs = [ nodejs_20 ];
# Make a fake git repo with a commit.
# Without this, the package does not build.