pythonCatchConflictsHook: test cyclic dependency
Add test case where a package enlists itself as propagated build input.
This commit is contained in:
parent
e5d7325166
commit
b1bccc25ec
1 changed files with 9 additions and 0 deletions
|
@ -78,6 +78,15 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
# multi-output derivation with dependency on itself must not crash
|
||||
cyclic-dependencies =
|
||||
generatePythonPackage {
|
||||
pname = "cyclic-dependencies";
|
||||
preFixup = ''
|
||||
propagatedBuildInputs+=("$out")
|
||||
'';
|
||||
};
|
||||
|
||||
# Simplest test case that should trigger a conflict
|
||||
catches-simple-conflict = let
|
||||
# this build must fail due to conflicts
|
||||
|
|
Loading…
Reference in a new issue