Test the delayed with a bit more
This commit is contained in:
parent
0a470fc345
commit
7df4ef983e
3 changed files with 8 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
let
|
||||
|
||||
pkgs_ = with pkgs; {
|
||||
a = derivation {
|
||||
name = "a";
|
||||
|
@ -13,14 +14,16 @@ let
|
|||
system = builtins.currentSystem;
|
||||
builder = "/bin/sh";
|
||||
args = [ "-c" "touch $out" ];
|
||||
inherit a;
|
||||
};
|
||||
|
||||
c = b;
|
||||
};
|
||||
|
||||
packageOverrides = p: {
|
||||
b = derivation (p.b.drvAttrs // { name = "b-overridden"; });
|
||||
packageOverrides = pkgs: with pkgs; {
|
||||
b = derivation (b.drvAttrs // { name = "${b.name}-overridden"; });
|
||||
};
|
||||
|
||||
pkgs = pkgs_ // (packageOverrides pkgs_);
|
||||
in pkgs.a.b.name
|
||||
|
||||
in "${pkgs.a.b.name} ${pkgs.c.name} ${pkgs.b.a.name}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue