zon2nix 0.9.0
- check out git packages as committed, ignoring .gitattributes, as Zig reads them: an ordinary checkout could rewrite a file's line endings and leave the package not matching its hash; git entries in the expression now call fetchZigGit, and the JSON keeps its ordinary-checkout hashes - add --exclude, to leave out a dependency and everything beneath it - add --help
zon2nix 0.8.2
- accept a linkFarm argument in the generated expression again, and ignore it, so that callers who overrode it for the symlink workaround do not fail to evaluate
zon2nix 0.8.1
- keep the JSON output's hashes as they were before 0.8.0: for a naked N-V- package, the SHA-256 of the archive file, whatever fetcher the Nix expression uses for it - add a Forgejo workflow for x86_64 Linux, which also keeps Forgejo from running the GitHub workflow
zon2nix 0.8.0
- write simpler Nix expressions: one fetcher call per package, and one derivation that unpacks them all, several at a time, without Zig's recompression -- rebuilding ghostty's packages takes about 9 s, not 20 - fetch an archive with fetchzip when it has a single top-level directory, and with fetchurl when it has none, rather than by whether it is N-V- - filter git packages by .paths, like every other package - compute Zig package hashes without running `zig fetch` for archives, which was nearly all of a run's time - fetch each package's dependencies as soon as it is done, not a level at a time - choose the name and URL of a package reached more than one way by a fixed rule -- the alphabetically first name, an archive over git -- so the output does not depend on timing - share one HTTP client between downloads, and hash for Nix alongside Zig - remove the temporary directory when a run ends - fix random ReadFailed errors reading nix-prefetch output - refuse an archive URL with no extension, which Nix could not unpack - test from end to end in GitHub Actions on Linux and macOS
zon2nix 0.7.3
- report a malformed manifest instead of panicking on it - refuse to write an output over a manifest
zon2nix 0.7.2
- fetch dependencies several at a time - copy the packages instead of linking them
zon2nix 0.7.0
- fix a temporary directory bug when downloading .zip files - work around another Zig dependency bug - keep `--system` working, and say when it cannot
zon2nix 0.5.0
Better, more understandable structure.
zon2nix 0.4.0
Zig 0.15 updates; remove Zig 0.14 support.
zon2nix 0.3.0
Update to Zig 0.15.1.