mirror of
https://github.com/nix-community/impermanence
synced 2024-11-10 05:44:17 +00:00
Merge pull request #126 from alois31/assertion-hotfix
nixos: Fix collision detection logic
This commit is contained in:
commit
df1692e2d9
1 changed files with 4 additions and 4 deletions
|
@ -686,10 +686,10 @@ in
|
|||
'';
|
||||
}
|
||||
{
|
||||
assertion = duplicates (catAttrs "file" files) == [ ];
|
||||
assertion = duplicates (catAttrs "filePath" files) == [ ];
|
||||
message =
|
||||
let
|
||||
offenders = duplicates (catAttrs "file" files);
|
||||
offenders = duplicates (catAttrs "filePath" files);
|
||||
in
|
||||
''
|
||||
environment.persistence:
|
||||
|
@ -699,10 +699,10 @@ in
|
|||
'';
|
||||
}
|
||||
{
|
||||
assertion = duplicates (catAttrs "directory" directories) == [ ];
|
||||
assertion = duplicates (catAttrs "dirPath" directories) == [ ];
|
||||
message =
|
||||
let
|
||||
offenders = duplicates (catAttrs "directory" directories);
|
||||
offenders = duplicates (catAttrs "dirPath" directories);
|
||||
in
|
||||
''
|
||||
environment.persistence:
|
||||
|
|
Loading…
Reference in a new issue