forked from DGNum/colmena
hive: Add another test for nixpkgs.system
This commit is contained in:
parent
8f77184d58
commit
2b652f7236
1 changed files with 14 additions and 0 deletions
|
@ -281,6 +281,20 @@ fn test_nixpkgs_system() {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
"#);
|
"#);
|
||||||
|
|
||||||
|
TempHive::valid(r#"
|
||||||
|
{
|
||||||
|
meta = {
|
||||||
|
nixpkgs = import <nixpkgs> {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
test = { pkgs, ... }: {
|
||||||
|
nixpkgs.system = "armv5tel-linux";
|
||||||
|
boot.isContainer = assert pkgs.system == "armv5tel-linux"; true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
"#);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue