a0869759be
GitOrigin-RevId: ac319fd3149b23a3ad8ee24cb2def6e67acf194c
26 lines
557 B
Nix
26 lines
557 B
Nix
{ ... }:
|
|
|
|
{
|
|
config = {
|
|
home.file = {
|
|
conflict1 = {
|
|
text = "";
|
|
target = "baz";
|
|
};
|
|
conflict2 = {
|
|
source = ./target-conflict.nix;
|
|
target = "baz";
|
|
};
|
|
};
|
|
|
|
test.asserts.assertions.expected = [''
|
|
Conflicting managed target files: baz
|
|
|
|
This may happen, for example, if you have a configuration similar to
|
|
|
|
home.file = {
|
|
conflict1 = { source = ./foo.nix; target = "baz"; };
|
|
conflict2 = { source = ./bar.nix; target = "baz"; };
|
|
}''];
|
|
};
|
|
}
|