farcaller / nixhelm

This is a collection of helm charts in a nix-digestable format.
Apache License 2.0
78 stars 9 forks source link

App Template 3 won't build inside a Nix sandbox #18

Open Goorzhel opened 4 months ago

Goorzhel commented 4 months ago

It does JSON schema validation using a web $ref, frustrating attempts to build it inside a sandbox.

I have a vague idea for a workaround, which is to munge the source repo ...

mkDerivation {
  src = fetchFromGitHub {...}
  buildPhase = ''
    cp -r $src $out
    cp -rf $out/charts/library/common/*schema* \
           $out/charts/other/app-template
  '';
}

... and special-case the chart somewhere in nixhelm, but I haven't found a non-ugly way to do that. So I've filed this as a placeholder until I figure it out.

Goorzhel commented 1 week ago

Helm 3.16.0 will fix this.