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 { backend = platform.buildRustPackage {
name = "plantback"; name = "plantback";
src = ./back; src = ./back;
cargoLock = { lockFile = ./front/Cargo.lock; }; cargoLock = { lockFile = ./back/Cargo.lock; };
}; };
frontend = pkgs.buildNpmPackage { frontend = pkgs.buildNpmPackage {
name = "plantfront"; name = "plantfront";
src = ./front; src = ./front;
nodejs = node; nodejs = node;
npmBuildScript = "build-only"; npmBuildScript = "build-only";
npmDepsHash = "sha256-QYmO99RkdhAN+vNOkBqeXYlfyHGyHfRKVVMIWYfZO1A="; npmDepsHash = "sha256-0BTgt0zjKa6NPEAPyqJEkej0LuhglKpx645JpVSE2Ag=";
installPhase = '' installPhase = ''
mv ./dist $out mv ./dist $out
''; '';