refactor: split flake.nix into multiple files - #8272
Conversation
934507f to
2dc8943
Compare
7423df2 to
b2d9153
Compare
026e495 to
6b70af4
Compare
b7b4eee to
c5bb4fa
Compare
f4ec5a8 to
81df158
Compare
81df158 to
e426879
Compare
e426879 to
f06237f
Compare
f06237f to
4259198
Compare
62c1877 to
32b0e63
Compare
32b0e63 to
9462af9
Compare
9462af9 to
f0bac1a
Compare
|
CI filters only on the Nix file and not on the subfolder --- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -5,11 +5,13 @@ on:
paths:
- flake.nix
- flake.lock
+ - nix/**
- .github/workflows/nix.yml
push:
paths:
- flake.nix
- flake.lock
+ - nix/**
- .github/workflows/nix.yml
@@ -26,7 +28,7 @@ jobs:
- - run: nix fmt flake.nix -- --check
+ - run: nix fmt flake.nix nix/ -- --check |
|
Using There are quite a few things to be improved, though:
I propose splitting these into multiple follow-up PRs. I can take care of them if wanted. |
f0bac1a to
2b3fedd
Compare
I tried to get rid of naersk is the past, can be reused: #8281 |
|
minor: your last commit has a typo btw. |
2b3fedd to
f1e6489
Compare
There are more things to split out, cleanup and refactor e.g. around rustPlatform and rust toolchains, but i'm not going to do it now, so this PR is finished.
I tried to split out everything without changes and refactoring, the only minimal changes are for relative paths and replacing
manifest.versionwithinherit versionwhere the version is passed as an argument.