forked from the-distro/ofborg
Merge pull request #250 from ryantm/noaliases
add new eval checker for the package list with allowAliases = false
This commit is contained in:
commit
85a3b3341e
|
@ -331,6 +331,19 @@ impl<E: stats::SysEvents + 'static> worker::SimpleWorker for MassRebuildWorker<E
|
|||
self.nix.clone()
|
||||
),
|
||||
|
||||
EvalChecker::new(
|
||||
"package-list-no-aliases",
|
||||
nix::Operation::QueryPackagesJSON,
|
||||
vec![
|
||||
String::from("--file"),
|
||||
String::from("."),
|
||||
String::from("--arg"),
|
||||
String::from("config"),
|
||||
String::from("{ allowAliases = false; }"),
|
||||
],
|
||||
self.nix.clone()
|
||||
),
|
||||
|
||||
EvalChecker::new(
|
||||
"nixos-options",
|
||||
nix::Operation::Instantiate,
|
||||
|
|
Loading…
Reference in a new issue