From 71badc7a781a4b9f0c090621c7f4ec193259e9ba Mon Sep 17 00:00:00 2001 From: xenia Date: Sun, 1 Sep 2024 17:07:42 +0200 Subject: [PATCH] Fix issues in flake: wrong npm hash, wrong cargo lock path --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e0d5b9b..73b0a95 100644 --- a/flake.nix +++ b/flake.nix @@ -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 '';