From fc0623f0aff75b2db449dda51542c8a10ae642ae Mon Sep 17 00:00:00 2001 From: Ari Lotter Date: Thu, 16 Apr 2026 11:50:34 -0400 Subject: [PATCH] update nix --- nix/tui.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/tui.nix b/nix/tui.nix index 93973019f5..70eb67f949 100644 --- a/nix/tui.nix +++ b/nix/tui.nix @@ -4,7 +4,7 @@ let src = ../ui-tui; npmDeps = pkgs.fetchNpmDeps { inherit src; - hash = "sha256-+EhRRuvXi5hJupseHblF+MGxs84ijRMIH4qt5+2yYi8="; + hash = "sha256-zsUPmbC6oMUO10EhS3ptvDjwlfpCSEmrkjyeORw7fac="; }; packageJson = builtins.fromJSON (builtins.readFile (src + "/package.json")); @@ -18,6 +18,11 @@ pkgs.buildNpmPackage { doCheck = false; + postPatch = '' + # fetchNpmDeps strips the trailing newline; match it so the diff passes + sed -i -z 's/\n$//' package-lock.json + ''; + installPhase = '' runHook preInstall