diff --git a/default.nix b/default.nix index a0d8f5b70cef35af9dc5270f02345c6c87f5bc84..d07b203acc127f0b9be3dfb43cdf1a4256267b4e 100644 --- a/default.nix +++ b/default.nix @@ -6,7 +6,6 @@ in , mach-nix ? import sources.mach-nix { inherit pkgs pypiData; } , tahoe-lafs-source ? "tahoe-lafs" , tahoe-lafs-repo ? sources.${tahoe-lafs-source} -, ... }: let lib = pkgs.lib; diff --git a/tests.nix b/tests.nix index f7dc90fb734e097a097e7cef1aa9ae68e2607a11..40412a752ecaacd918e0aad6bfab37def5f24383 100644 --- a/tests.nix +++ b/tests.nix @@ -1,8 +1,20 @@ -{ privatestorage ? import ./. args +let + fixArgs = a: builtins.removeAttrs a [ + # Make sure all the args tests.nix accepts but default.nix does not are + # listed here so we don't try to forward them to default.nix + "privatestorage" + "hypothesisProfile" + "collectCoverage" + "testSuite" + "trialArgs" + ]; +in +{ privatestorage ? import ./. (fixArgs args) , hypothesisProfile ? null , collectCoverage ? false , testSuite ? null , trialArgs ? null +# accept any other arguments to be passed on to default.nix , ... }@args: let