From eb030c8d5ef3f40f9ced4ecfb8355fe70d53fe16 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Sat, 12 Oct 2024 22:16:41 +0200 Subject: [PATCH] fix build --- pkgs/ente-frontend/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/ente-frontend/default.nix b/pkgs/ente-frontend/default.nix index ce6c1fa..a4a237e 100644 --- a/pkgs/ente-frontend/default.nix +++ b/pkgs/ente-frontend/default.nix @@ -1,4 +1,4 @@ -{ lib, buildNpmPackage, fetchFromGitHub }: +{ lib, buildNpmPackage, fetchFromGitHub, npm-lockfile-fix }: buildNpmPackage rec { pname = "ente-website"; @@ -13,6 +13,8 @@ buildNpmPackage rec { # The prepack script runs the build script, which we'd rather do in the build phase. npmPackFlags = [ "--ignore-scripts" ]; + npmFlags = [ "--legacy-peer-deps" ]; + installPhase = '' mkdir -p $out ls .