Fix issues in flake: wrong npm hash, wrong cargo lock path

This commit is contained in:
xenia 2024-09-01 17:07:42 +02:00
parent afc03bb722
commit 71badc7a78

View File

@ -27,14 +27,14 @@
backend = platform.buildRustPackage {
name = "plantback";
src = ./back;
cargoLock = { lockFile = ./front/Cargo.lock; };
cargoLock = { lockFile = ./back/Cargo.lock; };
};
frontend = pkgs.buildNpmPackage {
name = "plantfront";
src = ./front;
nodejs = node;
npmBuildScript = "build-only";
npmDepsHash = "sha256-QYmO99RkdhAN+vNOkBqeXYlfyHGyHfRKVVMIWYfZO1A=";
npmDepsHash = "sha256-0BTgt0zjKa6NPEAPyqJEkej0LuhglKpx645JpVSE2Ag=";
installPhase = ''
mv ./dist $out
'';