Commit Graph

286 Commits (main)

Author SHA1 Message Date
Jeffrey C. Ollie dddc2a50a8
nix vm: more slimming 2025-01-15 10:25:02 -06:00
Jeffrey C. Ollie 4bfb1f616c
nix: disable geary 2025-01-15 10:25:02 -06:00
Jeffrey C. Ollie 4ff7f6df06
nix: fix dark mode setting 2025-01-15 10:25:02 -06:00
Jeffrey C. Ollie 0b456d14a4
nix: vms for testing ghostty 2025-01-15 10:24:58 -06:00
mitchellh 50e33a6665 deps: Update iTerm2 color schemes 2025-01-12 01:01:09 +00:00
Mitchell Hashimoto 6e411d60f2
Fix wayland-scanner/protocols packaging dependency
By updating zig-wayland:
https://codeberg.org/ifreund/zig-wayland/issues/67
2025-01-10 09:57:29 -08:00
Mitchell Hashimoto 622cc3f9c7
build: update zig-wayland to use new LazyPath API
This is a more idiomatic way to handle build paths in Zig 0.13 and
later.
2025-01-08 19:55:57 -08:00
Mitchell Hashimoto bade7be021
Use build.zig.zon for Wayland protocols 2025-01-07 20:26:26 -08:00
Mitchell Hashimoto 8bf5c4ed7f
This is a major refactor of `build.zig`.
The major idea behind the refactor is to split the `build.zig` file up into
distinct `src/build/*.zig` files. By doing so, we can improve readability of
the primary `build.zig` while also enabling better reuse of steps. Our
`build.zig` is now less than 150 lines of code (of course, it calls into a lot
more lines but they're neatly organized now).

Improvements:

  * `build.zig` is less than 150 lines of readable code.
  * Help strings and unicode table generators are only run once when multiple
    artifacts are built since the results are the same regardless of target.
  * Metal lib is only built once per architecture (rather than once per artifact)
  * Resources (shell integration, terminfo, etc.) and docs are only
    built/installed for artifacts that need them

Breaking changes:

  * Removed broken wasm build (@gabydd will re-add)
  * Removed conformance files, shell scripts are better and we don't run
    these anymore
  * Removed macOS app bundle creation, we don't use this anymore since we
    use Xcode

## Some History

Our `build.zig` hasn't been significantly refactored since the project started,
when Zig was _version 0.10_. Since then, the build system has changed
significantly. We've only ever duct taped the `build.zig` as we needed to
support new Zig versions, new features, etc. It was a mess.

The major improvement is adapting the entire Ghostty `build.zig` to the Step
and LazyPath changes introduced way back in Zig 0.12. This lets us better take
advantage of parallelism and the dependency graph so that steps are only
executed as they're needed.

As such, you can see in the build.zig that we initialize a lot of things, but
unless a final target (i.e. install, run) references those steps, _they'll
never be executed_. This lets us clean up a lot.
2025-01-07 19:47:43 -08:00
Mitchell Hashimoto ce77b91bf6
nix fmt 2025-01-05 12:37:56 -08:00
Mitchell Hashimoto 0ae8d9ed42
nix: update hash 2025-01-05 12:30:16 -08:00
Leah Amelia Chen 31439f311d build: add wayland 2025-01-05 12:27:11 -08:00
mitchellh 6db39e827e deps: Update iTerm2 color schemes 2025-01-05 01:00:16 +00:00
Jeffrey C. Ollie 652079b26c
wuffs: update, add jpeg decoding, add simple tests 2025-01-01 22:48:30 -06:00
Mitchell Hashimoto 1d71196de3
up version to 1.0.2 for development 2024-12-31 14:12:00 -08:00
mitchellh 12a333dfb4 deps: Update iTerm2 color schemes 2024-12-31 05:40:18 +00:00
Jeffrey C. Ollie b6e45d49a3
gtk/x11: link directly to libX11, no more dlopen 2024-12-29 01:15:01 -06:00
mitchellh a671ca43f8 deps: Update iTerm2 color schemes 2024-12-29 01:00:43 +00:00
Jeffrey C. Ollie 8ecb11a602
gtk: add option to not link against libX11 2024-12-28 13:40:17 -06:00
Mitchell Hashimoto 35b9ceee21
up the version to 1.0.1 everywhere for dev 2024-12-26 15:21:50 -08:00
Mitchell Hashimoto 68f09eb60d
set version metadata to 1.0.0 2024-12-26 11:49:31 -08:00
Mitchell Hashimoto 010e73517d
nix: move vimfiles instead of copying (#3073) 2024-12-22 19:07:41 -08:00
Qwerasd b920352c39 deps: update z2d to v0.4.0
Introduces static path methods and a reworked context API that makes
things generally cleaner.

This update incidentally fixed a bug we had before where the corner
triangle shade characters were drawn solid rather than medium shade.
2024-12-22 16:07:05 -05:00
Jeffrey C. Ollie b41db4f288
nix: move vimfiles instead of copying 2024-12-22 14:25:36 -06:00
mitchellh 7da6af85e1 deps: Update iTerm2 color schemes 2024-12-22 01:01:15 +00:00
Anund ac6956f1fe nix: support `programs.vim.plugins = [ ghostty.vim ]`
nix vim module expects vim plugins to have their code organized as top level
directories. eg: /ftdetect rather than /share/vim/vimfiles/ftdetect. Adding
a separate output seems like a convenient way to reference the plugin
files in `programs.vim.plugins ...`. Interestingly nvim will find the
plugin via nested directories making ghostty.vim and ghostty the same
for `programs.neovim.plugins`
2024-12-19 07:21:54 -08:00
Anund c39b60709f nix: address warning to use toplevel adwaita-icon-theme 2024-12-17 14:37:20 +11:00
mitchellh 854ec586f9 deps: Update iTerm2 color schemes 2024-12-15 01:05:52 +00:00
mitchellh c4029015b9 deps: Update iTerm2 color schemes 2024-12-12 21:45:11 +00:00
Mitchell Hashimoto 313752dee2
update libxev
This fixes a possible deadlock. This has never happened in reports by
beta testers but good hygiene to get this fixed.
2024-12-08 16:49:50 -08:00
Mitchell Hashimoto 1ee7da174b
flake: update to Nix 24.11 2024-12-05 12:15:48 -08:00
furtidev d32e3be0b3
update nix cache 2024-11-16 21:15:20 +06:00
Mitchell Hashimoto 523e3a6ae3
deps: update iterm2 color themes 2024-11-12 19:49:53 -08:00
Mitchell Hashimoto b26ff0a41b
deps: update zf and nix hash 2024-11-12 19:07:07 -08:00
Mitchell Hashimoto 98c4c453ee
update iterm2 themes 2024-11-05 16:32:30 -08:00
Mitchell Hashimoto f8d2ac6c8c
update zig-objc
removes usingnamespace
2024-11-04 09:52:19 -08:00
Mitchell Hashimoto 038b3dec79
update zig-objc
This fixes a hack we had around apple paths since we do this now
upstream in zig-objc. This also adds in support for NSFastEnumeration
needed for #2586
2024-11-03 15:21:26 -08:00
Mitchell Hashimoto 1a12355dc9
ci: add signing and tarball generation to release-tip workflow 2024-10-24 16:32:43 -07:00
Mitchell Hashimoto 3ae3429bf7
nix: oniguruma needed for dynamic linking 2024-10-24 15:14:46 -07:00
Mitchell Hashimoto 8bb8b01e54
build: use Zig system packaging options
This allows dynamically linking against system libraries, which is
particularly useful for packaging.
2024-10-24 14:46:37 -07:00
Mitchell Hashimoto dc26a9abe0
nix hash 2024-10-15 09:26:46 -07:00
Qwerasd d38d0f30c4 font/sprite: replace pixman with z2d, extend Box coverage
More complete coverage of the Symbols For Legacy Computing block,
including characters from Unicode 16.0.

Pixman and the web canvas impl for Canvas have been removed in favor of
z2d for drawing, since it has a nicer API with more powerful methods,
and is in Zig with no specific platform optimizations so should compile
to wasm no problem.
2024-10-14 17:50:49 -04:00
isabel 02be641358
refactor(nix): stdenv.isX -> stdenv.hostPlatform.isX
In preparation for the deprecation of `stdenv.isX`

e0464e4788
2024-10-14 16:39:28 +01:00
Tim Culverhouse e502597e8d fix(list-keybinds): reset SGR after pretty printing
Update libvaxis which now resets SGR at the end of a pretty print.

Fixes: #2333
2024-09-30 20:16:27 -07:00
Jeffrey C. Ollie cadca8ca45
nix: remove tracy from the devshell 2024-09-27 23:18:42 -05:00
Jeffrey C. Ollie 21a7e40510
nix: move fetch-zig-cache script into nix/build-support 2024-09-27 20:40:03 -05:00
Jeffrey C. Ollie a9b04037b4
nix: don't require the ZIG_LOCAL_CACHE_DIR to be set
NixOS does not set this during Nix package builds. Probably Nix's
caching got in the way of detecting this on my system.
2024-09-27 19:19:51 -05:00
Jeffrey C. Ollie 39733ac3e5
nix: work around ziglang/zig#20976 and fix nix package builds
Because Zig does not fetch recursive dependencies when you run `zig build
--fetch` (see https://github.com/ziglang/zig/issues/20976) we need to do some
extra work to fetch everything that we actually need to build without Internet
access (such as when building a Nix package).

An example of this happening:

```
error: builder for '/nix/store/cx8qcwrhjmjxik2547fw99v5j6np5san-ghostty-0.1.0.drv' failed with exit code 1;
      la/build/tmp.xgHOheUF7V/p/12208cfdda4d5fdbc81b0c44b82e4d6dba2d4a86bff644a153e026fdfc80f8469133/build.zig.zon:7:20: error: unable to discover remote git server capabilities: TemporaryNameServerFailure
      >             .url = "git+https://github.com/zigimg/zigimg#3a667bdb3d7f0955a5a51c8468eac83210c1439e",
      >                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      > /build/tmp.xgHOheUF7V/p/12208cfdda4d5fdbc81b0c44b82e4d6dba2d4a86bff644a153e026fdfc80f8469133/build.zig.zon:16:20: error: unable to discover remote git server capabilities: TemporaryNameServerFailure
      >             .url = "git+https://github.com/mitchellh/libxev#f6a672a78436d8efee1aa847a43a900ad773618b",
      >                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      >
      For full logs, run 'nix log /nix/store/cx8qcwrhjmjxik2547fw99v5j6np5san-ghostty-0.1.0.drv'.
```

To update this script, add any failing URLs with a line like this:

```
  zig fetch <url>
```

Periodically old URLs may need to be cleaned out.

Hopefully when the Zig issue is fixed this script can be eliminated in favor
of a plain `zig build --fetch`.
2024-09-27 15:49:02 -05:00
Jeffrey C. Ollie a969364f93 cli/list-themes: add ability to search theme names 2024-09-27 10:53:58 -07:00
Jeffrey C. Ollie 743e547235 cli: "fancy" theme preview
This adds a "fancy" theme preview to the `+list-themes` CLI action.
By default, if the command is connected to a TTY, it will display the
fancy preview. If it is not connected to a TTY, or the user specifies
`--plain` on the command line, a simple list of themes will be printed
to stdout.

While in the preview `F1` or `?` will show a help screen.
2024-09-27 10:53:58 -07:00
Jeffrey C. Ollie 196c9dc3ba
nix: fix up zig hook in package.nix 2024-09-26 17:24:16 -05:00
Mitchell Hashimoto c91c5164ff
update libxev
This fixes the issue where a write could be interrupted and not retried.
2024-09-23 09:30:57 -07:00
Mitchell Hashimoto a9deb37071
nix: remove ZLS
Fixes #2171

ZLS has caused us issues in our Nix shell before and I noted when we
first added it that we probably shouldn't. We now pin to release
versions of Zig so I think its reasonable to expect developers to have
ZLS installed themselves with the proper version or not use it at all.
2024-09-03 15:18:04 -07:00
Mitchell Hashimoto e6c3ba2cf9
update zig cache hash 2024-09-02 20:47:07 -07:00
Mitchell Hashimoto f133206c55
nix: update cache 2024-08-28 21:43:18 -07:00
Mitchell Hashimoto b826c98701
update nix hash 2024-08-28 21:43:18 -07:00
hanna 329848ca60
update the zig cache hash for nix 2024-08-07 17:53:31 -07:00
Mitchell Hashimoto d50fa27243
nix: update hash 2024-08-06 14:55:40 -07:00
Łukasz Niemier f9be02a20f chore: clean up typos 2024-08-05 13:56:57 +02:00
Mitchell Hashimoto a5ddf57d4c
nix: update hash 2024-08-01 10:30:57 -07:00
Mitchell Hashimoto c8e94a5553
nix: update hash 2024-08-01 10:15:14 -07:00
Mitchell Hashimoto c1ead2e2f1
nix: update to zig 0.13 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto ac0550e267
update libxev 2024-06-24 15:16:24 -07:00
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
Mitchell Hashimoto 2d8620e47e
nix: update cache hash 2023-11-30 14:07:14 -08:00
Mitchell Hashimoto 9326e21339
nix: update cache hash 2023-11-29 15:30:46 -08:00
Mitchell Hashimoto b85174c7ac
build: add oniguruma 2023-11-29 15:29:43 -08:00
Mitchell Hashimoto 7a9f979646
nix: update zig cache hash 2023-11-28 08:17:47 -08:00
Chris Marchesi c3b44020f4
nix: add GitHub Actions workflow
This adds a nix workflow that does the following:

* Checks to see if the Zig cache fixed derivation needs its hash
  updated. It does this by downloading a new cache, calculating the
  hash, and comparing it against what has already been set. If the hash
  is different, the workflow fails.
* Runs a Nix build if the hash is OK, testing the build of
  packages.ghostty (using "nix build .")

The cache workflow we use in the build job comes from:
  https://github.com/DeterminateSystems/magic-nix-cache-action/

Fixes #937.
2023-11-24 17:07:55 -08:00
Chris Marchesi 01663c8b29
nix: update zigCacheHash, mention that building pkg requires src
This updates the zigCacheHash and just adds a note mentioning that using
the package will require you to rebuild LLVM 17 and Zig, and directs
people to use the devShell until this is resolved.

This is likely good advice for most people until such time that both are
in nixpkgs (or at least LLVM 17 as it's by far the bigger culprit here).
2023-11-21 15:59:24 -08:00
Chris Marchesi 07e16eb7c1
nix: update zigCacheHash
Just a bump to zigCacheHash to address dependency updates.
2023-11-20 23:50:31 -08:00
Chris Marchesi fa9a6eb88d
nix: use -Doptimize=ReleaseFast
I figured out how to override the hook default build flags so that we
can set -Doptimize=ReleaseFast. :)

There's a long conversation that's gone on about this in nixpkgs, but
it's fairly well summed up here:
https://github.com/ziglang/zig/issues/14281#issuecomment-1624220653

I'd imagine we will want to adopt whatever is eventually done - after
this, we can remove the override and rely on more first-class
configuration, or logic in build.zig.
2023-11-20 21:20:38 -08:00
Chris Marchesi 2671215211
nix: fix package build
This fixes the Nix *package* build (read: not devShell, which is not
touched) so that it builds, and also conforms to what is generally seen
for a Zig project in nixpkgs.

The highlights:

* We use a Zig 0.12 derivation that I constructed from the Zig 0.11
  derivation, in addition to LLVM 17 updates found in
  NixOS/nixpkgs#258614. This specifically includes the patches that
  address ziglang/zig#15898, and also allows us to take advantage of the
  build hooks included in the Zig toolchain there.

* We pre-download the cache using "zig build --fetch" and a fixed-output
  derivation. This is similar to how the Go builders work in nixpkgs and
  I could see Zig ultimately going in a similar path, given that the
  fetcher part of the build system seems to be shaping up to having a Go
  module system-style DX (mind you, this is a naive opinion right now).

* Finally, cleaned up the derivation so that there's no special fixups
  happening outside of what is defined in the basic nixpkgs workflow.
  This is similar to other Zig projects I looked at (notably River) that
  seem to just include their dependencies in buildInputs and call it a
  day.

One specific change that is worth noting is that this changes the build
mode from ReleaseFast to ReleaseSafe - this is the current default
within the Zig build hook in nixpkgs. If we need ReleaseFast, we'll have
to override this.
2023-11-19 14:21:34 -08:00
Hanna 2d7e2c8345
Integrate libadwaita for the gtk backend (#792)
* When using gtk as the backend, link libadwaita

* Update c.zig

* Use libadwaita's theme manager for gtk

* update the documentation for window-theme

* build: add libadwaita to the nix devshell

* forgot to properly import libadwaita

* apprt/gtk: adwaita style change

---------

Co-authored-by: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
2023-11-02 21:29:29 -07:00
Mitchell Hashimoto e3a58526ce
fix dynamic build 2023-10-01 17:42:18 -07:00
Mitchell Hashimoto 779611c04b
nix: install prettier, also ignore zig-cache/out 2023-09-28 15:16:12 -07:00
Mitchell Hashimoto 90b5fdeede
ci: don't run gtk tests in CI 2023-09-18 15:46:57 -07:00
Thorsten Ball d86de34cf1 nix: add latest version of `zls` to flake.nix
I know not everybody uses ZLS (or LSPs in general) but I think it's very
useful and it's very handy to have it in the `flake.nix` to keep it up
to date with the `zig` version.

As with a lot of my PRs in this project, please consider the following a
disclaimer: I have 0 clue what I'm doing here and if there's a better
way to do what I'm trying to do, let me know!
2023-09-09 15:18:05 +02:00
Mitchell Hashimoto 0bdd73797e
Fix rendering issues with bash shell integration (#301)
* shell-integration/bash: we need to wrap escape sequences in brackets

* nix: install bashInteractive on Linux
2023-08-17 22:42:26 -07:00
Mitchell Hashimoto c2137360f4
update nix to 23.05 (#250)
* update nix to 23.05

* nix: do not install gdb on macos
2023-08-08 09:01:47 -07:00
Kevin Hovsäter 22b8173164 Fix typos 2023-08-08 14:27:34 +02:00
Mitchell Hashimoto c7865f0aad
nix: remove unused libs 2023-08-07 10:55:56 -07:00
Mitchell Hashimoto d356d5ea38
build: add libxml2/libbuid for fontconfig dynamic link for CI 2023-08-07 10:33:00 -07:00
Mitchell Hashimoto 68b57f1001
nix: update to python3 2023-07-03 17:15:16 -07:00
Mitchell Hashimoto c9f486be9b
Revert "update nix to 23.05"
This reverts commit fe65764832.
2023-07-03 14:51:08 -07:00
Mitchell Hashimoto fe65764832
update nix to 23.05 2023-07-03 14:36:46 -07:00
Mitchell Hashimoto 3a28ab1e8a
nix: add ncurses so we have access to tic, infocmp, etc. 2023-06-24 09:52:32 -07:00
Mitchell Hashimoto d114f95165
clean up some of the nix package building 2023-03-13 10:12:32 -07:00
Mitchell Hashimoto e227f4d5ef
nix: flatpak stuff should go into linux section 2023-02-26 08:45:24 -08:00
Mitchell Hashimoto 31540c24e7
nix: need debugedit for flatpak-builder 2023-02-25 19:39:33 -08:00
Mitchell Hashimoto 3345c2bb82
nix: add flatpak-builder 2023-02-25 16:50:06 -08:00
Mitchell Hashimoto edb926d434
nix: remove dpkg 2023-02-25 15:16:32 -08:00
Mitchell Hashimoto f217cd24b9
fpm build deb 2023-02-25 14:57:48 -08:00
Mitchell Hashimoto f268f3955e
init gtk app 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto 48c9c65915
add app runtime option, add gtk backend 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto 7d626326de
nix: fix darwin devshell 2023-02-12 19:29:26 -08:00
Mitchell Hashimoto 1840829e9e
add node for web stuff 2022-12-03 21:34:14 -08:00
Mitchell Hashimoto 894d36f28a
build: support for dynamic linking pixman 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto 2d3126ffb7
release-tip workflow (wip) 2022-11-17 11:24:12 -08:00
Mitchell Hashimoto cf14ea506f
update zig 2022-10-24 14:35:42 -07:00
Mitchell Hashimoto 8decfa6452
I think this gets us on master zig... 2022-10-13 11:31:02 -07:00