173 Commits

Author SHA1 Message Date
Mitchell Hashimoto
5eff2d88a2 nix: update package to zig 0.13 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
f062d6e405 Update libxev
Fixes #1836, upstream: efde8a1708
2024-06-23 21:32:44 -07:00
isabel
81344faeca build(nix): include more into source; ignore flake comapct 2024-06-21 18:19:14 +01:00
isabel
a73e0183d3 refactor(nix): specify source
this should reduce the amount of rebuilds that need to occur that due to
the souce changing invalidating the cache

also note that a update to nixpkgs-stable had to occur such that the new
lib functions existed
2024-06-21 15:17:43 +01:00
Mitchell Hashimoto
4b277f1bca update color themes to a34aeb1f505707a35102fe95984d4bea4a85eb3e 2024-06-03 19:24:56 -07:00
Jon Parise
2a66d37e48 Update functional URLs for ghostty-org 2024-06-01 16:44:09 -04:00
Mitchell Hashimoto
0fdbf80381 nix: update hash 2024-05-25 14:12:56 -07:00
Mitchell Hashimoto
a11c7ac785 update Dear Imgui to 1.90.6 2024-05-10 10:17:33 -07:00
Mitchell Hashimoto
0030ce7ff9 nix: update hash again 2024-05-09 21:08:43 -07:00
Mitchell Hashimoto
76ff6b81d8 nix: update cache hash 2024-05-09 21:02:26 -07:00
Mitchell Hashimoto
dbbaceec4a fix windows build 2024-04-18 14:48:07 -07:00
Mitchell Hashimoto
5370ac7eef nix: update cache hash 2024-04-18 14:23:10 -07:00
Mitchell Hashimoto
c5496b89ee nix: do not build ZLS on linux aarch64, see comment 2024-04-11 05:30:20 -07:00
RGBCube
aa928b8d87 nix: use packages = instead of (native)buildInputs as that is recommended 2024-03-29 22:27:32 +03:00
Jeffrey C. Ollie
bf34582f54 allow building nix package with different optimizations 2024-03-22 20:28:06 -07:00
Jeffrey C. Ollie
a69d9507b3 build ghostty nix package with ReleaseSafe 2024-03-22 20:28:06 -07:00
Mitchell Hashimoto
32c5e7a9d4 update libxev for windows stuff 2024-03-22 11:25:27 -07:00
Mitchell Hashimoto
877173067a nix: update hash 2024-03-22 11:17:59 -07:00
Mitchell Hashimoto
61424a875c nix: update cache hash 2024-03-13 13:40:42 -07:00
Mitchell Hashimoto
b48d24a546 update zig 2024-03-13 09:14:12 -07:00
Mitchell Hashimoto
4ecb6307b7 update zig 2024-03-09 15:59:45 -08:00
Jeffrey C. Ollie
160f05395b add hyperfine to the nix development environment 2024-02-07 12:55:37 -06:00
Mitchell Hashimoto
49f9059e0c nix: update cache hash 2024-02-05 21:22:28 -08:00
Mitchell Hashimoto
31d5785105 simd: basic ISA detection, boilerplate 2024-02-05 21:22:03 -08:00
Andrew Kelley
3a84f77782 make mach_glfw a lazy dependency
Prevents it from being fetched unless it is actually needed.
2024-02-05 19:01:36 -08:00
Mitchell Hashimoto
cb1a06181f nix: update cache 2024-02-04 18:41:40 -08:00
Lin Xianyi
6a720564b6 nix: Add meta.mainProgram 2024-01-28 10:22:38 +08:00
Jeffrey C. Ollie
ef09fa89b0 Generate documenation (manpages, etc.) from help strings. 2024-01-21 15:07:22 -06:00
Mitchell Hashimoto
d32667e46c nix: only linux is supported for the package 2024-01-20 14:23:05 -08:00
Mitchell Hashimoto
87933cc631 nix: update hash 2024-01-16 11:28:24 -08:00
Mitchell Hashimoto
468ba9ef86 nix: update hash 2024-01-13 21:39:35 -08:00
Mitchell Hashimoto
9566e71767 nix: update hash 2024-01-13 19:44:14 -08:00
Mitchell Hashimoto
ac0994e3de nix: update build hash 2024-01-13 15:31:04 -08:00
Mitchell Hashimoto
12db2bc962 nix: update package hash 2024-01-09 22:25:47 -08:00
Mitchell Hashimoto
ad0db1d2ae nix: update hash 2024-01-07 15:30:56 -08:00
Chris Marchesi
477a79087b nix: update nixpkgs-zig-0-12 input, also cache hash
This updates zig_0_12 to be built off of 0.12.0-dev.2059+42389cb9c.

Additionally, we update the cache hash.
2024-01-07 13:56:07 -08:00
Mitchell Hashimoto
8db0697b5d nix: update hash 2024-01-07 12:18:11 -08:00
Jeffrey C. Ollie
6626c315d7 In some cases, 'self' would not be passed to the package. It's not necessary so remove it. 2024-01-06 16:30:40 -06:00
Jeffrey C. Ollie
f09901f236 Include '-nix' in the version string to distinguish Nix builds. 2024-01-06 00:08:30 -06:00
Jeffrey C. Ollie
0200f79554 Include the git commit hash in the Nix package. 2024-01-05 23:44:53 -06:00
Chris Marchesi
5704baf4e6 nix: add libX11 to RUNPATH
This adds libX11 to the (wrapped) binary RUNPATH in the Nix package
fixupPhase, to ensure that the dlopen we are doing of it now in #1193
functions correctly.

Note that we patch ".ghostty-wrapped" here, as this is now the main
binary after #1104.
2024-01-01 21:40:43 -08:00
Jeffrey C. Ollie
a995b6dbb0 fix nix package and add ci test for nix package build 2023-12-22 13:43:06 -06:00
Mitchell Hashimoto
d796d1259b nix: only add shellhook on linux 2023-12-16 14:14:53 -08:00
Denys Pavlov
212a95866a nix: fix GTK icons for debug builds
Set `XDG_DATA_DIRS` in `nix develop` shell to include default Gnome
icon sets and gsettings schemas.

Sourced from [nixos wiki](https://nixos.wiki/wiki/Development_environment_with_nix-shell#No_GSettings_schemas_are_installed_on_the_system).
2023-12-16 13:15:03 -05:00
Denys Pavlov
82f102224f nix: use wrapGAppsHook4 to package ghostty
`wrapGAppsHook4` is recommended by nixpkgs for packaging GTK4
applications.[1] It ensures `XDG_DATA_DIRS` includes the nescessary
icons and gsettings schemas.
2023-12-16 13:04:54 -05:00
Jeffrey C. Ollie
c4ed1f1b80 Use Alejandra to format Nix modules. 2023-12-12 11:38:39 -06:00
Jeffrey C. Ollie
bba8583a21 Add "terminfo" and "shell_integration" subpackages to the Nix package so that the Ghostty
terminfo and shell integration files can be installed on a headless server without copying all
of Ghostty to the server. Implementation liberally cribbed from the Kitty Nix package.
2023-12-12 09:30:21 -06:00
RGBCube
b3082e3925 Use camelCase for all nix files 2023-12-08 16:53:02 +03:00
RGBCube
0e941896fa Compile wraptest with O3, run hooks 2023-12-08 16:53:02 +03:00
RGBCube
5846d991e9 Add garnix cache and clean up all nix code 2023-12-08 16:52:58 +03:00