coder: fix broken pkg (#255964)

* coder: fix broken pkg, bump version

* coder: revert version
This commit is contained in:
Charlie Moog 2023-09-19 00:58:11 -05:00 committed by GitHub
parent af0e9195ee
commit 835736de35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,8 +49,10 @@ buildGoModule rec {
fixup_yarn_lock yarn.lock fixup_yarn_lock yarn.lock
# node-gyp tries to download always the headers and fails: https://github.com/NixOS/nixpkgs/issues/195404 # 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 NODE_ENV=production node node_modules/.bin/vite build
popd popd
@ -84,7 +86,5 @@ buildGoModule rec {
homepage = "https://coder.com"; homepage = "https://coder.com";
license = lib.licenses.agpl3; license = lib.licenses.agpl3;
maintainers = [ lib.maintainers.ghuntley lib.maintainers.urandom ]; maintainers = [ lib.maintainers.ghuntley lib.maintainers.urandom ];
# Failed to download Chromium 109.0.5414.46
broken = true; # At 2023-03-30
}; };
} }