tvl-depot/nix/emptyDerivation/default.nix
Vincent Ambo 837560c846 fix(nix/emptyDerivation): Use system from readTree parameters
Change-Id: Ia7f9f4d0e7c06fa5433213a315c3354a83e94545
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5833
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: Profpatsch <mail@profpatsch.de>
2022-06-03 23:27:03 +00:00

22 lines
453 B
Nix

{ 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;
}