Commit Graph

5 Commits

Author SHA1 Message Date
LeRoyce Pearson
6f57ff05e7 Switch to using mitchellh's zig-overlay
arqv stopped existing on GitHub, including his zig-overlay repository
2022-08-26 09:34:18 -06:00
LeRoyce Pearson
5010de46db Make known-folders a flake input
Simpler than using `fetchFromGitHub`, we can have `nix` manage the
version instead
2022-07-19 00:08:04 -06:00
LeRoyce Pearson
5b94a7df02 Use flake-utils 2022-07-18 21:42:20 -06:00
LeRoyce Pearson
542f49087e Add known-folders as a flake input
This allows the flake to work without passing in `?submodules=1`, which
makes it easy to include in other flakes.

This commit also makes it possible to override the path to the
`known-folders` package like so:

```
zig build -Dknown-folders=/path/to/known-folders.zig
```

This allows `flake.nix` to pass in the nix store path.
2022-07-18 14:35:00 -06:00
LeRoyce Pearson
ac8600cd8c Add flake support
Have to use it with `nix run '.?submodules=1'`, unfortunately.

Might be able to remove that requirement by using the following, but I
don't know how it interacts with `gitignoreSource`:

```
fetchGit {
  url = ./.;
  submodules = true;
}
```
2022-07-18 11:12:17 -06:00