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 {
|
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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user