diff --git a/containers/pyroscope/default.nix b/containers/pyroscope/default.nix index 273ea36..b74109a 100644 --- a/containers/pyroscope/default.nix +++ b/containers/pyroscope/default.nix @@ -31,9 +31,9 @@ let # Webpack CopyPlugin can't glob through these symlinks to find # @grafana/ui icons. Pre-copy them to the output location and patch # webpack to skip the CopyPlugin entry for icons. - icons_src="node_modules/@grafana/ui/dist/public/img/icons" - mkdir -p public/build/grafana/build/img/icons - cp -rL "$icons_src"/* public/build/grafana/build/img/icons/ + mkdir -p public/build/grafana/build/img + 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 # fail on the symlinked glob