Skip to content
Snippets Groups Projects
Commit 3b369190 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

now we can easily parameterize pkgs, too

parent 90d57c4c
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,9 @@
# Run some system integration tests in VMs covering some of the software
# we're integrating (ie, application functionality).
system-tests = import ./nixos/system-tests.nix;
system-tests = pkgs.callPackage ./nixos/system-tests.nix { };
# Run some unit tests of the Nix that ties all of these things together (ie,
# PrivateStorageio-internal library functionality).
unit-tests = import ./nixos/unit-tests.nix;
unit-tests = pkgs.callPackage ./nixos/unit-tests.nix { };
}
# The overall system test suite for PrivateStorageio NixOS configuration.
let
pkgs = import ../nixpkgs-2105.nix { };
in {
{ pkgs }:
{
private-storage = pkgs.nixosTest ./tests/private-storage.nix;
spending = pkgs.nixosTest ./tests/spending.nix;
tahoe = pkgs.nixosTest ./tests/tahoe.nix;
......
# The overall unit test suite for PrivateStorageio NixOS configuration.
{ pkgs }:
let
pkgs = import <nixpkgs> { };
# Total the numbers in a list.
sum = builtins.foldl' (a: b: a + b) 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment