about summary refs log tree commit diff
path: root/nix/emptyDerivation/default.nix
blob: f808aa228dd5895508293d654ae5ff3cd25b8624 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ depot, pkgs, localSystem, ... }:

let
  emptyDerivation = import ./emptyDerivation.nix {
    inherit pkgs;
    inherit (pkgs) stdenv;
    inherit (depot.nix) getBins;
    system = localSystem;
  };

  tests = import ./tests.nix {
    inherit emptyDerivation;
    inherit pkgs;
    inherit (depot.nix) writeExecline getBins;
    inherit (depot.nix.runTestsuite) runTestsuite it assertEq;
  };

in
{
  __functor = _: emptyDerivation;
  inherit tests;
}