Zhaofeng Li

Results 70 comments of Zhaofeng Li

Redox (MIT-licensed) provides better pure-Rust implementations of those functions at https://gitlab.redox-os.org/redox-os/kernel/-/blob/master/src/externs.rs

I was thinking about remote eval as well. Currently, most parts of the deployment process are already host-agnostic with implementations for "local" and "SSH" hosts abstracted out, and we can...

@htr > I'm just now checking out colmena. If it suits my usecase nicely, I might try to implement remote building support. Remote building is already supported by Colmena, which...

[Remote building](https://zhaofengli.github.io/colmena/unstable/features/remote-builds.html) is now supported in the unstable branch. If enabled, Colmena will copy system profile derivations to the target nodes and initiate the builds there. There is no need...

Hi, sorry for the delay. This is a bit too specialized in my view, and relies on pre-existing configurations on the target host (the container already running). I think something...

You can use `colmena eval` to extract arbitrary information from your configuration. Since vulnix parses `.drv`s directly, you can get the derivations of the system profiles: ```console $ colmena eval...

It appears to be related to config merging. The reproducer works if you suppress config merging for `utils.allNodes`: ```diff --- a/hive.nix +++ b/hive.nix @@ -9,7 +9,7 @@ "defaults" = {...

For this usecase, I currently use an external script that calls `colmena eval` to evaluate and build system profiles outside of the normal deployment flow: https://github.com/zhaofengli/colmena/issues/42#issuecomment-1004528027

> Why are you using `nix-env` & `nix-build` instead of `nix profile` & ` nix build`? > > But still nix copy. Oops, missed this one. `nix profile` is not...

What's the adapter that you are using to convert `outputs.nixosConfigurations` to `outputs.colmena`? That probably needs to be changed.