Zhaofeng Li
f11e3c77ee
flake: Update nixpkgs
2023-10-18 15:41:54 -06:00
David Arnold
cce22d56b3
fix: 1000 nixpkgs; compat with numtide/nixpkgs-unfree
2023-03-11 14:59:38 -05:00
Zhaofeng Li
941f48bd81
flake.nix: Add checks for integration tests
2023-01-27 23:44:41 -07:00
Zhaofeng Li
b7262f6781
flake.nix: Update nixpkgs, remove nix-eval-jobs
2023-01-27 23:44:41 -07:00
Zhaofeng Li
92f0f155d4
flake.nix: Bump stable to 22.11, update unstable
2022-12-01 01:57:56 -07:00
David Arnold
2bd563e847
fix: export assertion module
2022-10-23 13:09:54 -07:00
Bernardo Meurer
2d98088877
refactor(flake): make nix-eval-jobs's flake-utils follow ours
...
This avoids having a duplicated flake-utils entry in the lockfile
2022-10-08 23:33:26 -03:00
Bernardo Meurer
8bec45393e
refactor(flake): rename utils to flake-utils
...
This is the expected name for downstream consumers of colmena's flake
who want to override the input.
Having it be named `utils` causes some surprise/confusion when doing
`inputs.flake-utils.follows` as is usual.
2022-10-08 23:31:22 -03:00
Zhaofeng Li
bd048e98d8
flake.nix: Add lib.makeHive
...
Ground work to make the evaluation logic more clearly separated from
the deployment logic.
The `colmenaHive` output will be the integration point between the two
halves.
2022-09-18 17:27:46 -06:00
Zhaofeng Li
95be6686ae
flake.nix: Reindent
2022-09-18 17:27:46 -06:00
Zhaofeng Li
976849028b
flake.nix: Add patched nix-eval-jobs with pure-eval fixes
2022-08-17 01:09:43 -06:00
Zhaofeng Li
49eacdc31f
flake.nix: Add cargo-audit to devShell
2022-08-16 20:16:00 -06:00
Zhaofeng Li
62a3d1e6f8
Run rustfmt
2022-07-29 22:13:09 -07:00
David Arnold
83a919bdb0
ref: reduce eval.nix contract forther
...
- module export contratcts can now bypass the eval.nix iface
- enabled by:9bd5e7bb2540664fe1c728c85f80375fe0cbf9fa
2022-07-09 15:41:17 -05:00
David Arnold
c82517fc12
ref: reduce eval.nix contract
...
- documentation contratcts can now bypass the eval.nix iface
- enabled by:9bd5e7bb2540664fe1c728c85f80375fe0cbf9fa
2022-07-09 15:41:15 -05:00
Zhaofeng Li
bde5f4878e
Bump flake deps
...
Stable is now at 22.05 as 21.11 is becoming EOL.
2022-07-01 16:31:13 -07:00
Zhaofeng Li
d37270f292
Apply flake8 to manual preprocessor
2022-06-24 17:34:37 -07:00
Zhaofeng Li
52d969425c
flake.nix: Add bashInteractive to dev shell
2022-06-02 16:39:45 -07:00
Zhaofeng Li
f140ea4080
flake.nix: Fix nix run
for Nix 2.8
2022-06-02 16:39:45 -07:00
Timothy DeHerrera
7681d26689
flake.nix: add RUST_SRC_PATH for rust-analyzer
...
Allow for a rust-analyzer language server running in the devshell to
access the same rust sources used to build the package.
2022-06-01 14:52:54 -07:00
Timothy DeHerrera
6e2d221388
flake.nix: add project binary cache to nix.conf
2022-06-01 14:52:54 -07:00
David Arnold
9bd5e7bb25
imp: soc of eval, modules & options
...
- the reason for this change is to have more transparent separation
of concern between effectuations of the module system and pre-module
system effectuations
- with improved flakes support down the line, pre-module system
effectuations will get more complex
- this also allows to patch the aspects of the evaluation individually
while tracking other components from upstream. eg. path options & eval
but not modules
2022-05-22 01:54:52 -07:00
Zhaofeng Li
017ccf142c
flake.lock: Update
...
All downstream patches to nix-eval-jobs have been merged and released
as part of nix-eval-jobs 0.0.4.
2022-03-19 20:31:26 -07:00
Zhaofeng Li
6340b8ba50
manual: Integrate mdbook-linkcheck
2022-03-07 22:02:04 -08:00
Zhaofeng Li
09a8a72b0c
flake.nix: Add nix-eval-jobs patch to fix buffering
2022-02-16 01:11:06 -08:00
Zhaofeng Li
0080622ad1
Cargo.lock: Update
2022-02-16 01:11:06 -08:00
Zhaofeng Li
e7d4792634
flake.nix: Let's just patch the nix-eval-jobs in nixpkgs
...
Anything that links against Nix feels so fragile *shrugs*
2022-02-04 23:28:15 -08:00
Zhaofeng Li
501ca74ce6
flake.lock: Update nixpkgs and stable
2022-02-04 20:58:17 -08:00
Zhaofeng Li
0a955d0a4c
integration-tests: Also run apply test against stable nixpkgs
2022-01-27 18:48:25 -08:00
Paul Haerle
5b8971a0f4
eval.nix: expose nixosModules.deploymentOptions ( #49 )
...
Allow flake users to import .#nixosModules.deploymentOptions
into their flake, so that the same expression can be used for both,
.#colmena.$host as well as .#nixosConfiguration.$host, without the
latter complaining about undefined options in "deployment".
2022-01-23 10:06:41 -08:00
Zhaofeng Li
f4896aad39
flake.nix: Fix trailing whitespace
2022-01-22 17:53:54 -08:00
Zhaofeng Li
faf84d5718
flake.nix: Use own nix-eval-jobs fork
...
Currently we depend on changes that are not yet in a released
version of nix-eval-jobs. This pin needs to go before the 0.3
release.
2022-01-22 17:50:53 -08:00
Zhaofeng Li
7e15450fd2
default.nix: Switch to flake-compat
...
`package.nix` is kept in sync with the expression in upstream Nixpkgs.
2022-01-21 00:45:12 -08:00
Zhaofeng Li
abb74b9f49
Add EditorConfig rules, fix trailing whitespaces
2022-01-08 01:20:36 -08:00
Zhaofeng Li
2aeab62880
Bundle rust-analyzer in dev environment
...
The user's rust-analyzer may be of the wrong version.
2022-01-08 01:20:36 -08:00
Zhaofeng Li
d74df64826
Update nixpkgs, fix manual build
2022-01-01 16:41:35 -08:00
Zhaofeng Li
06804e3715
Support macOS
...
Currently it requires Linux remote builders to be set up to do
anything useful, but soon it will not once we able to initiate
builds directly on the target nodes themselves.
2022-01-01 16:41:35 -08:00
Zhaofeng Li
14f6c707f5
flake.nix: Cherry pick supported platforms
2021-12-06 12:47:33 -08:00
Zhaofeng Li
064432f38e
nix/deployment: Misc cleanup
2021-12-04 01:03:26 -08:00
Zhaofeng Li
0cb3f8e968
Redesign deployment process (again)
...
We now ship Events from different parts of the deployment process
via a channel to a job monitor.
2021-11-21 00:11:37 -08:00
Zhaofeng Li
ee8ae7dd21
Move closer to release
2021-11-18 13:15:20 -08:00
Zhaofeng Li
4497ef296e
Add manual
...
We finally have some real documentation :)
2021-11-17 22:21:00 -08:00
Zhaofeng Li
0828bc3025
.github: Update test matrix
2021-11-16 22:11:57 -08:00
Zhaofeng Li
6f5d7aa29b
flake.nix: Clean up and add overlay
2021-09-19 22:03:39 -07:00
Zhaofeng Li
c6ac93152c
flake.nix: Pin <nixpkgs> for dev/CI
2021-06-29 02:04:54 -07:00
Zhaofeng Li
9d8153ee6d
Make dev environment flake-compatible
...
Co-authored-by: Alex Zero <joseph@marsden.space>
2021-06-29 01:02:43 -07:00