Commit Graph

195 Commits (main)

Author SHA1 Message Date
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
Mitchell Hashimoto d4a67c2466
update zig 2023-10-21 15:52:40 -07:00
Mitchell Hashimoto 8f46d114c0
update zig 2023-10-17 12:45:35 -07:00
Mitchell Hashimoto 4750a92bb4
update zig 2023-10-07 08:24:25 -07:00
Mitchell Hashimoto 2b28106837
update zig 2023-10-02 08:18:35 -07:00
Mitchell Hashimoto 9e6cb63a1e
update zig 2023-10-01 09:11:57 -07:00
Mitchell Hashimoto 7c440dea5e
update zig 2023-09-28 15:30:51 -07:00
Mitchell Hashimoto 695c50a73a
update zig 2023-09-27 08:11:59 -07:00
Mitchell Hashimoto e644be3b25
update zig to 0.12.0-dev.464+a63a1c5cb 2023-09-21 11:03:34 -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 375a4569f7
update zig 2023-09-03 08:21:21 -07:00
Mitchell Hashimoto ab9f86cd23
update zig 2023-08-24 09:52:31 -07:00
Mitchell Hashimoto 936befa1af
update to 0.12.0-dev.141+ddf5859c2 2023-08-20 09:04:42 -07:00
Mitchell Hashimoto 2df7789f3e
update to nix 23.05 2023-08-13 11:53:23 -07:00
Mitchell Hashimoto a295d1e872
revert back to nix 22.11, see comment 2023-08-08 10:32:49 -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
Mitchell Hashimoto a348adf26b
build: dynamic link first (mode_first) 2023-08-07 10:49:50 -07:00
Mitchell Hashimoto d649b3f6d4
update zig 2023-08-02 14:39:19 -07:00
Mitchell Hashimoto 4b3b42bc54
update zig 2023-07-28 10:22:58 -07:00
Mitchell Hashimoto 57cd4ec4ca
update zig 2023-07-20 18:49:29 -07:00
Mitchell Hashimoto 6faa7c195b
Revert "update zig"
This reverts commit 11939915cd.
2023-07-20 17:57:30 -07:00
Mitchell Hashimoto 11939915cd
update zig 2023-07-20 17:50:23 -07:00
Mitchell Hashimoto 1aec2f2ca5
update zig version 2023-07-18 10:59:09 -07:00
Mitchell Hashimoto 020772f777
update zig 2023-07-09 10:38:41 -07:00
Mitchell Hashimoto 0b5ff8f311
update zig 2023-07-04 13:07:17 -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 314f9287b1
Update Zig (#164)
* update zig

* pkg/fontconfig: clean up @as

* pkg/freetype,harfbuzz: clean up @as

* pkg/imgui: clean up @as

* pkg/macos: clean up @as

* pkg/pixman,utf8proc: clean up @as

* clean up @as

* lots more @as cleanup

* undo flatpak changes

* clean up @as
2023-06-30 12:15:31 -07:00
Mitchell Hashimoto 56f8e39e5b
Update zig, mach, fmt 2023-06-25 11:08:20 -07:00
Mitchell Hashimoto 8aaee518fd
update zig version 2023-06-16 17:03:46 -07:00
Mitchell Hashimoto 498cd7df7c
update zig 2023-05-31 15:26:01 -07:00
Mitchell Hashimoto 7116ce0806
update zig version 2023-05-29 08:24:12 -07:00
Mitchell Hashimoto 80402b655c
update zig 2023-05-25 21:47:05 -07:00
Mitchell Hashimoto 97d9157d22
update zig version 2023-05-07 20:50:51 -07:00
Mitchell Hashimoto e2dc12cd6d
update zig version 2023-04-06 09:09:23 -07:00
Mitchell Hashimoto 920200fa04
update zig 2023-04-04 13:43:33 -07:00
Mitchell Hashimoto 5dc98da9a0
build compiles at least 2023-03-24 19:39:50 -07:00
Mitchell Hashimoto fa55d7088e
update Zig version 2023-03-10 22:20:29 -08:00
Mitchell Hashimoto ce86c64b42
update zig, src for loops 2023-02-27 21:46:42 -08:00
Mitchell Hashimoto f998341492
update zig 2023-02-19 21:19:17 -08:00
Mitchell Hashimoto ec19c178a1
update zig version 2023-02-14 17:45:41 -08:00
Mitchell Hashimoto 414201abf9
update zig 2023-01-26 08:52:46 -08:00
Mitchell Hashimoto e253d12a7d
update zig 2022-12-28 20:23:53 -08:00
Mitchell Hashimoto 134d63d1bc
update zig -- should fix codesign issue 2022-12-24 10:57:24 -08:00
Mitchell Hashimoto f2a05041d8
update zig again 2022-12-22 20:26:01 -08:00
Mitchell Hashimoto 6f3bc5186d
update to latest zig 2022-12-21 18:30:21 -08:00
Mitchell Hashimoto e210c91d10
update zig version, update @call for newer zig version 2022-12-16 22:34:54 -08:00
Mitchell Hashimoto c8252133a3
update zig version 2022-12-12 22:10:52 -08:00
Mitchell Hashimoto f82593bcae
update zig 2022-12-03 21:36:11 -08:00
Mitchell Hashimoto fe805f1031
update zig 2022-12-01 12:59:40 -08:00
Mitchell Hashimoto 6ad45f0237
update zig 2022-11-30 16:54:04 -08:00
Mitchell Hashimoto 67f8c231f8
update nixpkgs to 22.11 2022-11-29 14:44:56 -08:00
Mitchell Hashimoto 8ac759fa52
update zig again 2022-11-29 13:00:57 -08:00
Mitchell Hashimoto 88c37fb617
update zig version 2022-11-29 12:57:42 -08:00
Mitchell Hashimoto 3e92ec5ccd
update zig 2022-11-09 17:42:33 -08:00
Mitchell Hashimoto f6a3840c5b
update zig 2022-11-06 17:44:21 -08:00
Mitchell Hashimoto 4d13f2648a
update zig 2022-11-01 13:26:46 -07:00