matrix-sdk-crypto-nodejs: fix build
This commit is contained in:
parent
6aea62f938
commit
a8aefa107d
1 changed files with 1 additions and 4 deletions
|
@ -23,10 +23,6 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-G2Um7vHinOuOx9U2BH14LAx+s/0Sxtlc9Nz6nPJfmU8=";
|
hash = "sha256-G2Um7vHinOuOx9U2BH14LAx+s/0Sxtlc9Nz6nPJfmU8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
cd bindings/${pname}
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
rustPlatform.cargoSetupHook
|
rustPlatform.cargoSetupHook
|
||||||
rustPlatform.rust.cargo
|
rustPlatform.rust.cargo
|
||||||
|
@ -40,6 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
|
cd bindings/${pname}
|
||||||
npm run release-build --offline
|
npm run release-build --offline
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
|
|
Loading…
Reference in a new issue