Commit 4d0c1a91 authored by lucasew's avatar lucasew
Browse files

coder: mark as broken + refactoring



Signed-off-by: default avatarlucasew <lucas59356@gmail.com>
parent 701f8d5f
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -29,12 +29,9 @@ buildGoModule rec {
    hash = "sha256-nRmEXR9fjDxvpbnT+qpGeM0Cc/qW/kN53sKOXwZiBXY=";
  };

  subPackages = [ "cmd/..." ];

  vendorHash = "sha256-+AvmJkZCFovE2+5Lg98tUvA7f2kBHUMzhl5IyrEGuy8=";

  # integration tests require network access
  doCheck = false;
  tags = [ "embed" ];

  ldflags = [
    "-s"
@@ -42,6 +39,8 @@ buildGoModule rec {
    "-X github.com/coder/coder/buildinfo.tag=${version}"
  ];

  subPackages = [ "cmd/..." ];

  preBuild = ''
    export HOME=$TEMPDIR

@@ -57,8 +56,6 @@ buildGoModule rec {
    popd
  '';

  tags = [ "embed" ];

  nativeBuildInputs = [
    fixup_yarn_lock
    installShellFiles
@@ -79,10 +76,15 @@ buildGoModule rec {
    wrapProgram $out/bin/coder --prefix PATH : ${lib.makeBinPath [ terraform ]}
  '';

  meta = with lib; {
  # integration tests require network access
  doCheck = false;

  meta = {
    description = "Provision software development environments via Terraform on Linux, macOS, Windows, X86, ARM, and of course, Kubernetes";
    homepage = "https://coder.com";
    license = licenses.agpl3;
    maintainers = with maintainers; [ ghuntley urandom ];
    license = lib.licenses.agpl3;
    maintainers = [ lib.maintainers.ghuntley lib.maintainers.urandom ];
    # Failed to download Chromium 109.0.5414.46
    broken = true; # At 2023-03-30
  };
}