63b10738b2
chore(nix): use self
for version
...
Signed-off-by: seth <getchoo@tuta.io >
2024-10-25 02:35:53 -04:00
bf432b5514
chore(nix): use cachix for binary cache
...
Signed-off-by: seth <getchoo@tuta.io >
2024-09-30 16:25:58 -04:00
2663ac5405
build(nix): add debug builds
...
This will lead to build times on par with our other CI jobs, as now
we're not always building for release
Signed-off-by: seth <getchoo@tuta.io >
2024-09-30 16:18:20 -04:00
a49a58bc45
Revert "refactor(nix): nix-filter -> lib.fileset"
...
This reverts commit 8312713dc2
.
See nix#9428. Path coercion like `"${./.}"` in flakes causes the path to
be copied to the store twice; using the `self` argument works around
this. However, as `lib.fileset` doesn't support using `self`, so we need
to go back to `nix-filter`
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 04:01:32 -04:00
e29ea4efb0
build(nix): add formatting checks
...
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 04:01:32 -04:00
0ae421c265
chore(nix): drop flake-parts
...
The primary goals here include making the flake easier to contribute to
by having it follow the standard boilerplate, while also limiting the
size of our flake.lock to lower the chance of duplicate inputs for users
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 04:01:30 -04:00
7a83d0cea0
ci(nix): drop pre-commit-hooks
...
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 03:49:36 -04:00
4c81d8c53d
style(nix): format with nixfmt
...
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 03:49:36 -04:00
97147f2d24
fix(nix): drop unsupported Qt 5 package
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-18 22:31:41 +03:00
8312713dc2
refactor(nix): nix-filter -> lib.fileset
...
with our own use of `map`, this is basically a drop-in replacement for
nix-filter, but already in nixpkgs!
Signed-off-by: seth <getchoo@tuta.io >
2024-01-23 16:10:41 -05:00
839adfc90b
nix: add garnix cache to nixConfig
...
Signed-off-by: seth <getchoo@tuta.io >
2024-01-11 03:20:20 -05:00
26474d1374
nix: deduplicate nixpkgs input
...
Signed-off-by: seth <getchoo@tuta.io >
2024-01-11 03:06:37 -05:00
10192c540b
feat(nix): add source filtering
...
this - along with garnix - should mostly eliminate unneeded (re)builds
Signed-off-by: seth <getchoo@tuta.io >
2023-09-09 15:25:41 -04:00
6aa821df9c
refactor(nix): match inputs value in flake
...
Signed-off-by: seth <getchoo@tuta.io >
2023-09-09 15:25:39 -04:00
2918d61b16
refactor(nix): use pre-commit flake module
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-09-04 08:53:10 +02:00
bdc2fca711
refactor(nix): don't instantiate nixpkgs
...
See https://zimbatm.com/notes/1000-instances-of-nixpkgs
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-28 15:18:10 +02:00
d582bf7f1f
feat(nix): flake-utils -> flake-parts
...
Signed-off-by: seth <getchoo@tuta.io >
2023-05-27 19:14:50 -04:00
5db4fabcad
chore(nix): add deadnix
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-03-14 10:59:43 +01:00
cfca82ceb3
chore(nix)!: use overlays.default
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-03-14 10:58:41 +01:00
95a0bd61a9
feat(nix): add pre-commit-hooks.nix
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-03-14 10:53:51 +01:00
b324778be7
feat(nix): add devShell
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-03-14 10:51:47 +01:00
950f921c09
refactor(nix): use flake-utils
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-03-14 10:50:07 +01:00
9dff1bac83
chore(nix): format code using alejandra
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-03-14 10:48:19 +01:00
fc11dfd6b4
refactor(nix): use tomlplusplus from nixpkgs
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-12-19 15:54:09 +01:00
f601135cc0
refactor(nix): synchronize changes from nixpkgs
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-11-20 23:49:11 +01:00
d049c1afaf
chore: update flake
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-10-18 16:28:30 +02:00
722194405a
refactor: initial rebrand
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-10-18 09:37:59 +02:00
0f59a1dde1
fix(nix): add tomlplusplus
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-26 15:42:45 +02:00
8757281467
fix(nix): switch to PolyMC libnbtplusplus
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-07-18 20:34:36 +02:00
e11706d99d
Cleanup flake.nix
...
Signed-off-by: Gytis Ivaskevicius <me@gytis.io >
2022-07-07 19:25:14 +03:00
cf4949b4f5
Prepare for Nix 2.7 ( #286 )
...
* Prepare for Nix 2.7
* Fix embarassing oopsie
2022-06-03 22:26:46 -03:00
0ea2135aa5
nix: initial support for qt6
2022-05-28 11:32:13 +03:00
0ffe0b6894
nix: move files to nix/
2022-05-27 22:56:42 +03:00
283e50e670
nix: use nixpkgs's quazip
2022-05-27 22:56:40 +03:00
2c07f758a0
nix: refactor flake (drop flake-utils)
2022-04-01 16:55:51 +03:00
c75ae71190
flake.nix: drop aarch64-darwin
...
Currently qtbase is broken on aarch64-darwin, therefor dropping support, so the check can succeed
2022-02-14 15:45:51 +01:00
8d603d6162
nix: fix quazip input
2022-02-04 02:13:48 -05:00
f84fc783b6
removed redundant recs
...
removed file
2022-01-13 15:29:10 +02:00
60e9d2754a
changed flake.nix
...
removed result
2022-01-13 13:14:50 +02:00
957cd29dbf
nix: add support for non-flake builds
2022-01-09 17:08:19 +03:00
4a9d9b268a
nix: fix 'nix run'
2022-01-09 02:40:13 +03:00
ae3c613f6c
nix: use user package set on overlay and switch to ninja
2022-01-09 01:36:28 +03:00
9499acedab
nix: fix overlay
2022-01-09 00:40:55 +03:00
2a760a8e32
Revert "nix: revert overlay changes and add conditionals to derivation for flake build"
2022-01-08 23:09:53 +03:00
6065b4dcf9
nix: revert overlay changes and add conditionals to derivation for flake build
2022-01-08 23:06:56 +03:00
d29d020d6f
{nix,flake}: add submodules
2022-01-08 22:33:06 +03:00
b1fa551fd2
flake: updates
2022-01-08 22:33:06 +03:00
8d184958d8
nix: init flake
2022-01-08 22:32:49 +03:00
8d000d29fa
Fix desktop file and move directories around
2022-01-08 09:12:44 -06:00
73c0a0d43b
Make nix support not rely on flakes
2022-01-08 01:34:32 -06:00