mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-18 16:29:38 +01:00
Removes the `uniq` constraint on `after` and `before` so that we can
merge multiple definitions for the same DAG entry:
{
dag = mkMerge [
{
foo = lib.hm.dag.entryBefore [ "bar" ] {
# definition 1
};
}
{
foo = lib.hm.dag.entryBefore [ "qux" ] {
# definition 2
};
}
{
foo = {
# definition 3
};
}
];
}
In this example `foo` will come before `bar` and `qux`.
|
||
|---|---|---|
| .. | ||
| dag-merge-result.txt | ||
| dag-merge.nix | ||
| dag-submodule.nix | ||
| default.nix | ||
| gvariant-merge.nix | ||
| list-or-dag-merge-result.txt | ||
| list-or-dag-merge.nix | ||