Commit Graph

10 Commits

Author SHA1 Message Date
LeRoyce Pearson
0ad2009b00
Use -Doptimize=ReleaseSafe; update flake.lock (#975) 2023-02-05 00:54:12 -05:00
Auguste Rame
48288e02a9
Revert "Fix Nix build, add Nix to CI (#840)" (#893)
This reverts commit 20ba87c173.
2023-01-07 18:14:45 -05:00
erikarvstedt
20ba87c173
Fix Nix build, add Nix to CI (#840)
* Nix: Reuse input `flake-utils` in `zig-overlay`

* CI/main: convert line endings from `CRLF` to `LF`

* CI: Add Nix build
2023-01-07 15:20:54 -05:00
Álan Crístoffer
c6d74dbca5
fix: tres not available in a nix environment. (#855) 2022-12-29 13:36:38 -05:00
Sage Hane
6420296a82
Nix: Pass -Dcpu=baseline to zig build (#739)
* update flake.lock

* Nix: Pass `-Dcpu=baseline` to `zig build`
2022-11-03 14:44:01 -04:00
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