prisma-engines: #135934 follow-up corrections

This commit is contained in:
Pamplemousse
2021-09-10 15:33:11 +02:00
committed by Raphael Megzari
parent af9aafe101
commit d047d336d6
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
owner = "prisma";
repo = "prisma-engines";
rev = version;
sha256 = "sha256-i4r+TRC8454awbqe35Kg3M9xN2NnP8Sbd/dITtm9MDg=";
sha256 = "sha256-39+pEjve7evxcjcBK1JLTRNNjfUMoCgSgtYcdJ3zIKE=";
};
cargoPatches = [
@@ -28,8 +28,6 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-BldEj8+tzY0dIA/fdrPLsFn3ZdfoGq6GsomCUhQBoLM=";
outputs = [ "out" "lib" "bin" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl protobuf ];
@@ -45,7 +43,7 @@ rustPlatform.buildRustPackage rec {
'';
postInstall = ''
cp target/release/libquery_engine.so $out/lib/libquery_engine.so.node
cp target/x86_64-unknown-linux-gnu/release/libquery_engine.so $out/lib/libquery_engine.so.node
'';
# Tests are long to compile