Unverified Commit ca1260a3 authored by emilylange's avatar emilylange
Browse files

grafana-alloy: don't build the frontend twice

Prior to this, we built the frontend twice.
Once in the goModules derivation and then the second time in the actual
derivation.
parent 3cae6352
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -55,6 +55,11 @@ buildGoModule rec {
    "."
  ];

  # Skip building the frontend in the goModules FOD
  overrideModAttrs = (_: {
    preBuild = null;
  });

  yarnOfflineCache = fetchYarnDeps {
    yarnLock = "${src}/internal/web/ui/yarn.lock";
    hash = "sha256-Jk+zqR/+NBde9ywncIEJM4kgavqiDvcIAjxJCSMrZDc=";