From 457023efd460ffe65a63c1a50194ad8fbb41bc89 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 26 Apr 2026 03:02:50 +0100 Subject: [PATCH] fix: resolve package build blockers --- nix/pkgs/poltergeist.nix | 4 +--- nix/pkgs/summarize.nix | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nix/pkgs/poltergeist.nix b/nix/pkgs/poltergeist.nix index 5034e25..b0019e4 100644 --- a/nix/pkgs/poltergeist.nix +++ b/nix/pkgs/poltergeist.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, watchman }: +{ lib, stdenv, fetchurl }: let sources = { @@ -30,8 +30,6 @@ stdenv.mkDerivation { runHook postInstall ''; - propagatedBuildInputs = [ watchman ]; - meta = with lib; { description = "Universal file watcher with auto-rebuild for any language or build system"; homepage = "https://github.com/steipete/poltergeist"; diff --git a/nix/pkgs/summarize.nix b/nix/pkgs/summarize.nix index d7d9f26..b8ffb20 100644 --- a/nix/pkgs/summarize.nix +++ b/nix/pkgs/summarize.nix @@ -72,7 +72,7 @@ if stdenv.isLinux then PNPM_CONFIG_HOME = "/tmp/pnpm-config"; XDG_CACHE_HOME = "/tmp/pnpm-cache"; NPM_CONFIG_USERCONFIG = "/tmp/pnpm-config/.npmrc"; - npm_config_nodedir = "${nodejs.dev}"; + npm_config_nodedir = "${lib.getDev nodejs}"; npm_config_build_from_source = "1"; PNPM_CONFIG_IGNORE_SCRIPTS = "1"; PNPM_CONFIG_MANAGE_PACKAGE_MANAGER_VERSIONS = "false"; @@ -120,6 +120,7 @@ if stdenv.isLinux then runHook preInstall mkdir -p "$out/libexec" "$out/libexec/packages" "$out/libexec/apps" "$out/bin" cp -r dist node_modules "$out/libexec/" + find "$out/libexec/node_modules" -name ".pnpm-workspace-state-v1.json" -delete cp -r packages/core "$out/libexec/packages/" cp -r apps/chrome-extension "$out/libexec/apps/" chmod 0755 "$out/libexec/dist/cli.js"