From 74f38efa7ef6f0e8e71ec3bfc675ae4fb57d7491 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Wed, 14 Jun 2023 13:04:19 -0400 Subject: [PATCH] eval/nixpkgs,outpaths: disable aliases by default Co-Authored-By: Artturin --- ofborg/src/outpaths.nix | 1 + ofborg/src/tasks/eval/nixpkgs.rs | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/ofborg/src/outpaths.nix b/ofborg/src/outpaths.nix index 8407bae..66c7648 100755 --- a/ofborg/src/outpaths.nix +++ b/ofborg/src/outpaths.nix @@ -19,6 +19,7 @@ let nixpkgsArgs = { config = { + allowAliases = false; allowBroken = true; allowUnfree = true; allowInsecurePredicate = x: true; diff --git a/ofborg/src/tasks/eval/nixpkgs.rs b/ofborg/src/tasks/eval/nixpkgs.rs index f555c7f..b25c2e8 100644 --- a/ofborg/src/tasks/eval/nixpkgs.rs +++ b/ofborg/src/tasks/eval/nixpkgs.rs @@ -444,18 +444,6 @@ impl<'a> EvaluationStrategy for NixpkgsStrategy<'a> { vec![String::from("--file"), String::from(".")], 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( "lib-tests", nix::Operation::Build,