mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Restore old (dis)allowedRequisites behaviour for self-references
stdenv relies on this. So ignore self-references (but only in legacy non-structured attributes mode).
This commit is contained in:
parent
1427958b3c
commit
18b4c53f71
4 changed files with 39 additions and 30 deletions
|
@ -33,7 +33,7 @@ rec {
|
|||
};
|
||||
|
||||
# When specifying all the requisites, the build succeeds.
|
||||
test1 = makeTest 1 [ "out" dep1 dep2 deps ];
|
||||
test1 = makeTest 1 [ dep1 dep2 deps ];
|
||||
|
||||
# But missing anything it fails.
|
||||
test2 = makeTest 2 [ dep2 deps ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue