Álan Crístoffer
62ed4df269
Updates Nix to reflect Zon.
2023-06-05 08:20:06 +02:00
Sage Hane
edf83bcf00
Update Nix Flakes file
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8d447c5626cfefb9b129d5b30103344377fe09bc' (2023-05-09)
→ 'github:NixOS/nixpkgs/7721e0d2c1845c24eafd5a016b9d349187c48097' (2023-05-18)
• Updated input 'tres':
'707a09313b
.tar.gz?narHash=sha256-WFI%2fnXcxy05kfrl4kLjP0LfwO9xCqjxKg7ZPEKiB6NY='
→ '220d01f393
.tar.gz?narHash=sha256-yhAH7npmBmlOkoHAitbDEv9CUx3zOc2GyErR8WPQCYQ='
• Updated input 'zig-overlay':
'github:mitchellh/zig-overlay/7b05e01b76b1776859170ab9a8fe55e412cf17a1' (2023-05-09)
→ 'github:mitchellh/zig-overlay/15a16045ada1b3d22454f61c5902f0a5b1e7bec6' (2023-05-19)
2023-05-20 00:41:23 +02:00
Álan Crístoffer
f234b91a50
Fixes nix standard derivation. ( #1042 )
...
* Adds a formatter for nix. Use `nix fmt`.
* Fixes nix standard derivation.
The standard derivation has been broken for quite some time now, but I
didn't use it, so I didn't care to fix it. Today I cared. It now builds
and is updated for the new packaging system.
2023-03-10 20:27:50 -05:00
Álan Crístoffer
8edb8bcac3
Fixes nix build. ( #1032 )
...
* fix nix build
* fix nix build
2023-03-05 14:38:27 -05:00
Álan Crístoffer
a2f9f8d0dd
Fix: variable not defined. ( #992 )
2023-02-11 17:12:15 -05:00
Álan Crístoffer
4b2882294f
Adds ziglibs/diffz to flake.nix ( #991 )
...
The flake is not building because it cannot find diffz.
2023-02-11 17:04:22 -05:00
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