Fix issues in flake: wrong npm hash, wrong cargo lock path
This commit is contained in:
parent
afc03bb722
commit
71badc7a78
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue
Block a user