From ca11c63ca931039af268a9d19d7946ca25c23bca Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 29 Mar 2022 09:28:59 -0700 Subject: [PATCH] nix: add libX11 --- nix/devshell.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/devshell.nix b/nix/devshell.nix index 4a7530fb1..e00f93eb2 100644 --- a/nix/devshell.nix +++ b/nix/devshell.nix @@ -1,8 +1,10 @@ -{ mkShell +{ mkShell, lib, stdenv , pkg-config , scdoc , zig + +, libX11 }: mkShell rec { name = "ghostty"; @@ -13,5 +15,7 @@ ]; buildInputs = [ + ] ++ lib.optionals stdenv.isLinux [ + libX11 ]; }