diff options
author | aszlig <aszlig@nix.build> | 2018-04-03 03:50:55 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-04-03 03:50:55 +0200 |
commit | e603e0fd1ed6e919beb8d31d3c69ad70f002f539 (patch) | |
tree | d29472f08baf477ffc0cb615fe9eb4835d0f89be /tests/default.nix | |
parent | 2cde2ae48b0e8c4cc2d73b4fd2e40c1a8a7006ad (diff) |
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 <aszlig@nix.build>
Diffstat (limited to 'tests/default.nix')
-rw-r--r-- | tests/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
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 { |