eval/nixpkgs,outpaths: disable aliases by default
Co-Authored-By: Artturin <Artturin@artturin.com>
This commit is contained in:
parent
0f34038feb
commit
74f38efa7e
|
@ -19,6 +19,7 @@ let
|
||||||
|
|
||||||
nixpkgsArgs = {
|
nixpkgsArgs = {
|
||||||
config = {
|
config = {
|
||||||
|
allowAliases = false;
|
||||||
allowBroken = true;
|
allowBroken = true;
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
allowInsecurePredicate = x: true;
|
allowInsecurePredicate = x: true;
|
||||||
|
|
|
@ -444,18 +444,6 @@ impl<'a> EvaluationStrategy for NixpkgsStrategy<'a> {
|
||||||
vec![String::from("--file"), String::from(".")],
|
vec![String::from("--file"), String::from(".")],
|
||||||
self.nix.clone(),
|
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(
|
EvalChecker::new(
|
||||||
"lib-tests",
|
"lib-tests",
|
||||||
nix::Operation::Build,
|
nix::Operation::Build,
|
||||||
|
|
Loading…
Reference in a new issue