These files will be integrated into the evaluator unit tests instead of running separately via a shell script. Change-Id: I1d229e73b1d862777f5108c86891689900edefbe Reviewed-on: https://cl.tvl.fyi/c/depot/+/1275 Tested-by: BuildkiteCI Reviewed-by: Kane York <rikingcoding@gmail.com> Reviewed-by: isomer <isomer@tvl.fyi>
24 lines
466 B
Nix
24 lines
466 B
Nix
let
|
|
pkgs_ = with pkgs; {
|
|
a = derivation {
|
|
name = "a";
|
|
system = builtins.currentSystem;
|
|
builder = "/bin/sh";
|
|
args = [ "-c" "touch $out" ];
|
|
inherit b;
|
|
};
|
|
|
|
inherit b;
|
|
};
|
|
|
|
packageOverrides = p: {
|
|
b = derivation {
|
|
name = "b-overridden";
|
|
system = builtins.currentSystem;
|
|
builder = "/bin/sh";
|
|
args = [ "-c" "touch $out" ];
|
|
};
|
|
};
|
|
|
|
pkgs = pkgs_ // (packageOverrides pkgs_);
|
|
in pkgs.a.b.name
|