151 Commits

Author SHA1 Message Date
Mitchell Hashimoto
b7bf59d772 update zig 2024-03-22 11:15:26 -07:00
Chris Marchesi
a2c9ac558d nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.3282+da5b16f9e).
2024-03-13 10:19:00 -07:00
Mitchell Hashimoto
b48d24a546 update zig 2024-03-13 09:14:12 -07:00
Chris Marchesi
bd9998809d nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.3192+e2cbbd0c2).
2024-03-10 11:23:33 -07:00
Mitchell Hashimoto
4ecb6307b7 update zig 2024-03-09 15:59:45 -08:00
Mitchell Hashimoto
dc9bd68244 update zig 2024-03-08 18:52:35 -08:00
Chris Marchesi
41f670eb9b nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.3033+031f23117).
2024-02-27 10:59:39 -08:00
Mitchell Hashimoto
737e7758e4 update zig version 2024-02-27 08:57:31 -08:00
Mitchell Hashimoto
0d27565704 update zig version 2024-02-24 13:26:55 -08:00
Chris Marchesi
7cca274650 nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.2818+97290e0bf).
2024-02-21 09:28:21 -08:00
Mitchell Hashimoto
d92beab1d8 update zig version 2024-02-20 16:43:25 -08:00
Chris Marchesi
6cedc369cd nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.2711+f995c1b08).
2024-02-13 09:59:59 -08:00
Mitchell Hashimoto
645aa61482 update nix 2024-02-12 18:57:33 -08:00
Chris Marchesi
2f84472f66 nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.2701+d18f52197).
2024-02-10 17:22:21 -08:00
Mitchell Hashimoto
66a91638d3 update zig 2024-02-10 16:43:57 -08:00
Mitchell Hashimoto
32b2f88ff0 update zig 2024-02-10 16:43:57 -08:00
Chris Marchesi
880dec2bbe nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.2587+a1b607acb).
2024-02-05 10:20:31 -08:00
Mitchell Hashimoto
3344c864c6 update zig 2024-02-05 07:55:34 -08:00
Mitchell Hashimoto
10dfa00402 update zig 2024-02-04 13:42:52 -08:00
Mitchell Hashimoto
efda4c232a update zig 2024-01-26 08:56:24 -08:00
Chris Marchesi
0b8da6bcd7 nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.2334+aef1da163).
2024-01-25 21:46:01 -08:00
Mitchell Hashimoto
2a2c17e198 update zig 2024-01-24 09:36:48 -08:00
Mitchell Hashimoto
bb64939fe4 update zig 2024-01-19 19:00:03 -08:00
Mitchell Hashimoto
d5ffdcda93 update zig 2024-01-15 07:53:09 -08:00
Mitchell Hashimoto
9686740286 update zig 2024-01-11 22:23:28 -08:00
Mitchell Hashimoto
49d9e7aa5d update zig 0.12 nxpkgs 2024-01-08 19:04:51 -08:00
Mitchell Hashimoto
522f61ff7d update zig 2024-01-08 18:37:19 -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
c1bde28af4 update flake 2024-01-07 12:03:23 -08:00
Chris Marchesi
2e3c1bf9da nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 input to be in line with the current
Zig in use by the overlay (0.12.0-dev.1830+779b8e259).
2023-12-22 12:32:43 -08:00
Thorsten Ball
d6d659d824 nix: update ZLS
Just keeping up with Zig.
2023-12-20 06:20:06 +01:00
Mitchell Hashimoto
482a53b72f update zig 2023-12-19 14:33:35 -08:00
Chris Marchesi
42c307ef2a nix: Update nixpkgs-zig-0-12 source
With the nixpkgs LLVM 17 PR (NixOS/nixpkgs#258614) now merged, we can
update this flake input to base off of master so that we can take
advantage of the built LLVM derivation when it's ready.

This only leaves Zig 0.12 which should mean a much reduced build time.

Note that of this writing, the derivations are still queued, so until
that happens, this update means a rebuild of LLVM 17 for anyone using
the ghostty package.
2023-12-08 14:51:04 -08:00
Mitchell Hashimoto
24c64d4b44 nix: make devshell platform-specific 2023-12-08 07:58:52 -08:00
RGBCube
5846d991e9 Add garnix cache and clean up all nix code 2023-12-08 16:52:58 +03:00
Mitchell Hashimoto
53c23b7245 update zig 2023-12-06 22:12:36 -08:00
Thorsten Ball
7b70df3952 nix: update ZLS 2023-12-07 06:28:51 +01:00
Chris Marchesi
dae92039c7 nix: update nixpkgs-zig-0-12
Just updates the input so that we're on the same Zig nightly as
zig-overlay (#983).
2023-12-02 19:52:22 -08:00
Mitchell Hashimoto
8507459e65 update zig version 2023-12-02 12:14:24 -08:00
Chris Marchesi
f1bb1ab6c9 nix: update flake.lock for nixpkgs-zig-0-12
This updates the lockfile for nixpkgs-zig-0-12 so that the latest zig is
used for building the nix package.

Note that as per history on this topic, this currently only affects the
nix package (packages.ghostty), not the devShell.
2023-12-01 11:05:34 -08:00
Mitchell Hashimoto
8f5f8fb0bd update Zig version in Nix 2023-11-30 14:06:24 -08:00
Mitchell Hashimoto
4b6dfd0042 update zig 2023-11-20 12:28:18 -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
Mitchell Hashimoto
d3f3d10b2f update zig 2023-11-14 09:01:37 -08:00
Mitchell Hashimoto
1b7786a3e3 update zig 2023-11-04 17:04:24 -07:00
Mitchell Hashimoto
ce05c78804 update zig 2023-10-31 09:44:09 -07:00
Thorsten Ball
0b0f199955 nix: update ZLS to newest version 2023-10-28 09:03:32 +02:00
Mitchell Hashimoto
b146f95402 update zig 2023-10-26 10:42:33 -07:00
Mitchell Hashimoto
7a1c54ad05 update zig 2023-10-24 15:02:26 -07:00
Mitchell Hashimoto
113204399e update zig 2023-10-21 21:34:59 -07:00