nix: add libX11

pull/2/head
Mitchell Hashimoto 2022-03-29 09:28:59 -07:00
parent 16d5162be0
commit ca11c63ca9
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 5 additions and 1 deletions

View File

@ -1,8 +1,10 @@
{ mkShell { mkShell, lib, stdenv
, pkg-config , pkg-config
, scdoc , scdoc
, zig , zig
, libX11
}: mkShell rec { }: mkShell rec {
name = "ghostty"; name = "ghostty";
@ -13,5 +15,7 @@
]; ];
buildInputs = [ buildInputs = [
] ++ lib.optionals stdenv.isLinux [
libX11
]; ];
} }