eval/nixpkgs,outpaths: disable aliases by default

Co-Authored-By: Artturin <Artturin@artturin.com>
This commit is contained in:
Lily Foster 2023-06-14 13:04:19 -04:00 committed by Cole Helbling
parent 0f34038feb
commit 74f38efa7e
2 changed files with 1 additions and 12 deletions

View file

@ -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;

View file

@ -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,