Commit Graph

2 Commits

Author SHA1 Message Date
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