-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nixpkgs config not propagated (nixpkgs.system
, possibly more)
#31
Comments
Updated the repro code, bisecting |
So, it seems that your subsequent fix of my PR broke my use-case. d16a136 As in the repro, I use a nixpkgs instantiated with a specific config in my hive. Seems like that config does not get propagated properly. It looks like doing this instead works properly: let nixpkgs = ...;
in
{
network = {
inherit nixpkgs;
};
alpha = {
nixpkgs.system = "aarch64-linux";
};
} I am not sure of a way to fix it for all variants of the very flexible |
I gave this some thought, and I think there are two ways to solve this issue:
For 2, a "compromise" would be that we only set |
Might be interesting to see how |
I think the usecases mentioned here are now working. The merging of |
I have an aarch64-linux machine in my hive. Recently updated to master of colmena and it tries to build for x86_64-linux instead, resulting in a cryptic error as it tries to execute x86_64 perl/bash:
Introduced somewhere between ee52032 (I used that specific commit... for a while) and c6ac931 . I will try to find time to bisect tomorrow
Minimal repro
shell.nix
hive.nix
Result:
See also:
The text was updated successfully, but these errors were encountered: