From e603e0fd1ed6e919beb8d31d3c69ad70f002f539 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 3 Apr 2018 03:50:55 +0200 Subject: tests: Pass in nixpkgs source from release.nix Another point where we rely on nixpkgs-path.nix from within release.nix, where we already have the correct path to nixpkgs passed as an argument. So let's simply pass that argument along to the actual test. Signed-off-by: aszlig --- tests/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/default.nix') diff --git a/tests/default.nix b/tests/default.nix index c9cafe6c..44167e07 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -1,8 +1,11 @@ -{ system ? builtins.currentSystem, ... }: +{ system ? builtins.currentSystem +, nixpkgsPath ? import ../nixpkgs-path.nix +, ... +}: let callTest = path: import ./make-test.nix (import path) { - inherit system; + inherit system nixpkgsPath; }; in { -- cgit 1.4.1