Remove some unnecessary hierarchy

I thought `default.nix` was handled specially for the purposes of automatic
parameter population but it isn't.  Instead, you just need this `args@{...}`
pattern.
This commit is contained in:
Jean-Paul Calderone
2023-03-14 10:25:02 -04:00
parent ff50bfe5c4
commit 10414e80ed
2 changed files with 2 additions and 2 deletions

View File

@ -423,7 +423,7 @@ jobs:
cache_if_able nix-build \
--cores 8 \
--argstr pkgsVersion "nixpkgs-<<parameters.nixpkgs>>" \
nix/tests/
nix/tests.nix
typechecks:
docker:

View File

@ -1,4 +1,4 @@
# Build the package with the test suite enabled.
args@{...}: (import ../../. args).override {
args@{...}: (import ../. args).override {
doCheck = true;
}