31031ec923
chore(nix): use self
for version
...
Signed-off-by: seth <getchoo@tuta.io >
(cherry picked from commit 63b10738b2
)
2024-10-26 00:57:00 +00:00
5f06517b62
chore(nix): sync with nixpkgs
...
Signed-off-by: seth <getchoo@tuta.io >
(cherry picked from commit a5c554cf6e
)
2024-10-26 00:57:00 +00:00
522d105dbe
fix(nix): enable checks
...
Signed-off-by: seth <getchoo@tuta.io >
2024-10-19 12:32:36 -04:00
988ef32019
fix(nix): don't write to files in formatting check
...
Signed-off-by: seth <getchoo@tuta.io >
2024-09-30 16:32:50 -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
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
13eedbb7de
doc(nix): prefer packages
output
...
overlays can cause issues we don't run into upstream, especially when
used on stable channels for example. preferring the pure `packages`
output also encourages the use of our binary cache by users, who
probably don't like building the launcher all too much
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
e85b364748
refactor(nix): use final
in overlay
...
this allows to implictly pass `prismlauncher-unwrapped`
it won't have an effect on our package set as directly inheriting from
the scope we create filters out the extra attributes usually introduced
with a scope
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 03:49:37 -04:00
271c38bc56
doc(nix): update package names and params
...
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 03:49:36 -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
7dff77ca35
style(nix): alejandra -> nixfmt-rfc-style
...
Signed-off-by: seth <getchoo@tuta.io >
2024-08-21 03:49:36 -04:00
ff31e88cf8
nix: sync changes from nixpkgs
...
Brings in changes from the Prism Launcher derivation(s) in nixpkgs, notably
from https://github.com/NixOS/nixpkgs/pull/321851 and
https://github.com/NixOS/nixpkgs/pull/303880
Signed-off-by: Evan Goode <mail@evangoo.de >
2024-07-21 15:47:38 -04:00
147741e616
increment clang-tools version
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-28 12:48:52 +03: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
201c4d2cc6
nix: replace mesa-demos with glxinfo
...
Signed-off-by: Lukas Eschbacher <eschbacher.lukas@gmail.com >
2024-05-20 14:39:24 +02:00
78804b26ee
Maybe fix nix
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-05-17 00:34:39 +03:00
0d372d2fbf
fix(nix): add jdk21
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2024-04-03 21:04:26 +02: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
84269f9596
refactor(nix): use addOpenGLRunpath.driverLink in wrapper
...
Signed-off-by: seth <getchoo@tuta.io >
2023-09-30 12:50:26 -04:00
97da8892b9
chore(nix): add meta.mainProgram attribute
...
Signed-off-by: seth <getchoo@tuta.io >
2023-09-19 16:41:40 -04:00
97ced1f459
fix(nix): include libusb1 as a runtime dependency
...
Signed-off-by: seth <getchoo@tuta.io >
2023-09-19 16:41:37 -04: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
89e434bd5b
refactor(nix): don't concat final attr in fixed point
...
Signed-off-by: seth <getchoo@tuta.io >
2023-09-09 15:25:33 -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
bbf4e3b04d
refactor(nix): use fixed points over rec
...
Signed-off-by: seth <getchoo@tuta.io >
2023-09-03 19:07:39 -04:00
707da5a25a
fix(nix): include udev dependency
...
See https://github.com/NixOS/nixpkgs/pull/252425
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-30 21:59:42 +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
41bd008f5d
chore(nix): remove pre-commit tools from shell
...
use `pre-commit` CLI instead!
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-23 13:49:10 +02:00
095de5ed4b
chore(nix): update clang-format to clang-tools 16
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-23 13:46:04 +02:00
b93cd88292
fix(nix): add canonicalize-jars-hook
...
See https://github.com/NixOS/nixpkgs/pull/250757
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-23 11:52:32 +02:00
5c95448f1f
Merge pull request #1485 from getchoo/nix-darwin
2023-08-20 21:20:09 +02:00
0c753619a4
Merge pull request #1467 from Scrumplex/update-nix-docs
2023-08-15 10:36:38 +02:00
eeb5fdbc9f
feat(nix): add darwin support
...
Signed-off-by: seth <getchoo@tuta.io >
2023-08-06 15:52:32 -04:00
076c189948
fix: format all languages using clang-format
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-02 18:35:08 +02:00
9d5818916a
fix(nix): enable clang-format
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-02 18:35:07 +02:00
d8f2a1354f
chore: update Nix docs
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-07-31 19:16:32 +02:00
f7ffbcca6c
chore(docs): correct markdownlint warnings
...
Signed-off-by: seth <getchoo@tuta.io >
2023-07-26 14:49:09 -04:00
342a0d0091
fix(nix): disable x86_64-darwin
...
Signed-off-by: seth <getchoo@tuta.io >
2023-07-26 14:49:09 -04:00
ad0493390b
fix(nix): use prismlauncher-unwrapped in devShell
...
Signed-off-by: seth <getchoo@tuta.io >
2023-06-11 14:02:36 -04:00
29e532c096
fix(nix): fix prismlauncher-qt5
...
Signed-off-by: seth <getchoo@tuta.io >
2023-06-02 11:53:09 -04:00
0f0cbd4c1f
refactor(nix): introduce unwrapped packages
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-06-02 12:41:18 +02:00
a52574b026
chore(nix): add nil
...
Signed-off-by: seth <getchoo@tuta.io >
2023-05-27 19:25:49 -04:00
d582bf7f1f
feat(nix): flake-utils -> flake-parts
...
Signed-off-by: seth <getchoo@tuta.io >
2023-05-27 19:14:50 -04:00
70364884a9
feat(nix): add support for GameMode
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-04-02 11:35:35 +02:00
ea7f03770c
refactor(nix): use qtWrapperArgs
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-04-02 11:33:04 +02:00
81b1406290
feat(nix): use ninja for builds
...
Signed-off-by: seth <getchoo@tuta.io >
2023-04-01 13:06:53 -04:00