summaryrefslogtreecommitdiff
path: root/flake.nix
AgeCommit message (Collapse)Author
2025-10-03nix: update to unstable for Zig 0.15 in packageMitchell Hashimoto
2025-10-03zig-15: build binary buildsMitchell Hashimoto
2025-09-20update to the latest zon2nixJeffrey C. Ollie
2025-09-07nix: remove unnecessary input overrideJeffrey C. Ollie
2025-09-06update zon2nix to version that builds with Zig 0.15Jeffrey C. Ollie
2025-08-23nix: update zon2nixJeffrey C. Ollie
- Builds with Zig 0.15 now (but still works just fine with Zig 0.14 projects). - Fixes a double-free if nix-prefetch-git can't be found or errors out - Adds support for generating Flatpak package metadata natively.
2025-08-20build: add run-valgrind and test-valgrind stepsMitchell Hashimoto
This adds two explicit `zig build` steps: `run-valgrind` and `test-valgrind` to run the Ghostty exe or tests under Valgrind, respectively. This simplifies the manual Valgrind calls in a few ways: 1. It automatically sets the CPU to baseline, which is a frequent and requirement for Valgrind on newer CPUs, and generally safe. 2. It sets up the rather complicated set of flags to call Valgrind with, importantly setting up our suppressions. 3. It enables pairing it with the typical and comfortable workflow of specifying extra args (with `--`) or flags like `-Dtest-filter` for tests.
2025-08-20contributing: add some notes about running valgrindJeffrey C. Ollie
2025-07-13nix: use rev instead of ref for flake inputsNaïm Camille Favier
Works around https://git.lix.systems/lix-project/lix/issues/520
2025-07-13nix: fix flake inputNaïm Camille Favier
Setting `zig/flake-compat` to follow `""` (the current flake, ghostty) is incorrect and introduces an unnecessary dependency cycle.
2025-05-26nix: update to Nix 25.05 and Zig 0.14.1Jeffrey C. Ollie
Update to Nix 25.05 which gets us GTK 4.18, libadwaita 1.7, and Zig 0.14.1. Since Nix updated to Zig 0.14.1, the devshell has been switched to Zig 0.14.1 from zig-overlay as well. Fixes #7305
2025-04-10ci: add a script and workflow for requesting i18n reviewtrag1c
2025-03-18CI: Add checks for blueprint compiler / Nix refactorsJeffrey C. Ollie
1. Refactored Nix devshell/package to make it easier to keep LD_LIBRARY_PATH & buildInputs in sync (plus make it easier to re-use in other Nix environment). 2. Added a CI job to ensure that Blueprints are formatted correctly and that they will compile using `blueprint-compiler` 0.16.0. 3. Reformatted all Blueprints with `blueprint-compiler format`.
2025-03-16update zon2nixJeffrey C. Ollie
Upstream is now mostly pure Zig and the build.zig.zon.* files are generated directly by zon2nix. The JSON file is no longer used as an intermediate file but is retained for downstream packager usage.
2025-03-12update zig2nixMitchell Hashimoto
2025-03-11Zig 0.14Mitchell Hashimoto
2025-03-07core: update zig2nix to use explicit Zig version from NixJeffrey C. Ollie
This will avoid build breakage in the near future as Zig 0.14 is coming to Nix.
2025-02-12macOS: use Nix to get Zig depsJeffrey C. Ollie
2025-02-11nix: use zig2nix to manage nix cache/depsJeffrey C. Ollie
This brings the internal package more in line with how the nixpkgs package is built. It also handles recursive dependencies better than the current system.
2025-01-15nix: add x11 xfce vmJeffrey C. Ollie
2025-01-15nix: document how to create custom vmsJeffrey C. Ollie
2025-01-15nix vm: more reusabilityJeffrey C. Ollie
2025-01-15nix vm: simplify vm definitionJeffrey C. Ollie
2025-01-15nix vm: add plasma and cinnamon vmsJeffrey C. Ollie
2025-01-15nix vm: add documentation, add Gnome/X11 VMJeffrey C. Ollie
2025-01-15nix vm: maybe get vms working on darwinJeffrey C. Ollie
2025-01-15nix vm: more slimmingJeffrey C. Ollie
2025-01-15nix: vms for testing ghosttyJeffrey C. Ollie
2024-12-29Add default Nix overlaySebastian Estrella
2024-12-26Re-add nix-compat flake inputChip Bilbrey
Its entry in flake.lock is required for shell.nix to operate as it's been written. Hash values are restored to where they last existed.
2024-12-05flake: update to Nix 24.11Mitchell Hashimoto
2024-09-28nix: use stdenv from unstable to build the packageJeffrey C. Ollie
2024-09-28nix: remove tracy from flake.nixJeffrey C. Ollie
2024-09-11flake: remove unnecessary unstable libMitchell Hashimoto
2024-09-11flake: update to Nixpkgs 24.05Mitchell Hashimoto
2024-09-03nix: remove ZLSMitchell Hashimoto
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-06-24nix: update package to zig 0.13Mitchell Hashimoto
2024-06-24begin 0.13 update process -- very brokenMitchell Hashimoto
2024-06-24update to zig 0.12.1Mitchell Hashimoto
2024-06-23nix: inherit lib from unstableisabel
2024-06-22nix: revert back to 23.05 for nowMitchell Hashimoto
2024-06-21build(nix): include more into source; ignore flake comapctisabel
2024-06-21refactor(nix): specify sourceisabel
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-04-21remove nixpkgs fork for zig 0.12Mitchell Hashimoto
2024-04-21try to use official zig 0.12 for nix packageMitchell Hashimoto
2024-04-21update to zig 0.12Mitchell Hashimoto
2024-03-29nix: make ReleaseFast the default packageRGBCube
2024-03-22allow building nix package with different optimizationsJeffrey C. Ollie
2024-01-05Include the git commit hash in the Nix package.Jeffrey C. Ollie
2024-01-04feat(nix): add cachix binary cache to flakeEdenEast
Nix flake [schema] allows for a top level attribute called `nixConfig`. This allows a flake to extend a users nix for the specific flake. This lets us add ghostty's binary cache automatically when using the repo (nix develop, nix build, ...). [schema]: https://nixos.wiki/wiki/Flakes#Flake_schema