summary refs log tree commit diff
diff options
context:
space:
mode:
authorCharlie Moog <moogcharlie@gmail.com>2023-09-19 00:58:11 -0500
committerGitHub <noreply@github.com>2023-09-19 07:58:11 +0200
commit835736de35faba3e57a7a4becc6b7e472ae72317 (patch)
treedd6d1e16194655e115d35b61ac49c3fc94e37e87
parentaf0e9195ee73e87fd1e2c8cd6315a54fd09fb579 (diff)
downloadnixpkgs-835736de35faba3e57a7a4becc6b7e472ae72317.tar
nixpkgs-835736de35faba3e57a7a4becc6b7e472ae72317.tar.gz
nixpkgs-835736de35faba3e57a7a4becc6b7e472ae72317.tar.bz2
nixpkgs-835736de35faba3e57a7a4becc6b7e472ae72317.tar.lz
nixpkgs-835736de35faba3e57a7a4becc6b7e472ae72317.tar.xz
nixpkgs-835736de35faba3e57a7a4becc6b7e472ae72317.tar.zst
nixpkgs-835736de35faba3e57a7a4becc6b7e472ae72317.zip
coder: fix broken pkg (#255964)
* coder: fix broken pkg, bump version

* coder: revert version
-rw-r--r--pkgs/development/tools/coder/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/coder/default.nix b/pkgs/development/tools/coder/default.nix
index 48e47dd0663..e00fd43b3a2 100644
--- a/pkgs/development/tools/coder/default.nix
+++ b/pkgs/development/tools/coder/default.nix
@@ -49,8 +49,10 @@ buildGoModule rec {
     fixup_yarn_lock yarn.lock
 
     # node-gyp tries to download always the headers and fails: https://github.com/NixOS/nixpkgs/issues/195404
-    yarn remove --offline jest-canvas-mock canvas
+    # playwright tries to download Chrome and fails
+    yarn remove --offline jest-canvas-mock canvas @playwright/test playwright
 
+    export PATH=$PATH:$(pwd)/node_modules/.bin
     NODE_ENV=production node node_modules/.bin/vite build
 
     popd
@@ -84,7 +86,5 @@ buildGoModule rec {
     homepage = "https://coder.com";
     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
   };
 }