From 32fa1b73ceef9d6f1f477e370ca271ed59b517dd Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 25 May 2026 18:12:02 -0400 Subject: [PATCH] mod: revert sable to build locally --- pkgs/common/sable.nix | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/pkgs/common/sable.nix b/pkgs/common/sable.nix index af41b2b..8f86f2f 100644 --- a/pkgs/common/sable.nix +++ b/pkgs/common/sable.nix @@ -6,7 +6,6 @@ pnpmConfigHook, nodejs_24, fetchFromGitHub, - writableTmpDirAsHomeHook, }: buildNpmPackage (finalAttrs: let @@ -26,29 +25,13 @@ in { nodejs = nodejs_24; - nativeBuildInputs = [ - nodejs_24 - pnpm - writableTmpDirAsHomeHook - ]; + nativeBuildInputs = [ pnpm ]; npmConfigHook = pnpmConfigHook; - preConfigure = '' - export HOME="$(mktemp -d)" - export npm_config_cache="$HOME/.npm" - mkdir -p "$npm_config_cache" - ''; - npmDeps = finalAttrs.pnpmDeps; pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; inherit pnpm; - nativeBuildInputs = [ nodejs_24 ]; - prePnpmInstall = '' - export HOME="$(mktemp -d)" - export npm_config_cache="$HOME/.npm" - mkdir -p "$npm_config_cache" - ''; fetcherVersion = 3; hash = "sha256-2GwUz0jsuVKQZyeidM0F4rDzijm9AFcAxN7x/m/b3Is="; };