Skip to content

Commit 3508f03

Browse files
committed
code-server: Fix dependencies for Linuxbrew
libsecret is not spelled out explicitly in the dependencies, but it's mentioned as a step here: coder/code-server#735 (comment) X11 dependencies were also found by CI
1 parent 574fe5e commit 3508f03

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Formula/code-server.rb

+8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ class CodeServer < Formula
1515
depends_on "yarn" => :build
1616
depends_on "node"
1717

18+
unless OS.mac?
19+
depends_on "pkg-config" => :build
20+
depends_on "libsecret"
21+
depends_on "linuxbrew/xorg/libxkbfile"
22+
depends_on "linuxbrew/xorg/libx11"
23+
end
24+
1825
def install
26+
Language::Python.rewrite_python_shebang(Formula["[email protected]"].opt_bin/"python3") unless OS.mac?
1927
system "yarn", "--production"
2028
libexec.install Dir["*"]
2129
bin.mkdir

0 commit comments

Comments
 (0)