From 10398c715c4d8ac55333595d9272d0c3fbb1c6ef Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Thu, 26 Mar 2026 14:55:40 -0700 Subject: [PATCH] Fix icons path: use root node_modules in mkYarnPackage layout mkYarnPackage hoists most dependencies to the root node_modules/, with deps/grafana-pyroscope/node_modules/ containing only package- specific overrides. @grafana/ui lives at ../../node_modules/, not the local node_modules/. Co-Authored-By: Claude Opus 4.6 (1M context) --- containers/pyroscope/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/pyroscope/default.nix b/containers/pyroscope/default.nix index b74109a..33c6e64 100644 --- a/containers/pyroscope/default.nix +++ b/containers/pyroscope/default.nix @@ -32,7 +32,7 @@ let # @grafana/ui icons. Pre-copy them to the output location and patch # webpack to skip the CopyPlugin entry for icons. mkdir -p public/build/grafana/build/img - cp -rL node_modules/@grafana/ui/dist/public/img/icons \ + cp -rL ../../node_modules/@grafana/ui/dist/public/img/icons \ public/build/grafana/build/img/ # Remove the CopyPlugin icons entry from webpack config so it doesn't