1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 09:09:45 +01:00
home-manager/tests/modules/files/source-with-spaces.nix

17 lines
370 B
Nix
Raw Normal View History

2023-05-13 00:08:12 +02:00
{ ... }:
{
2023-05-13 00:08:12 +02:00
home.file."source with spaces!".source = ./. + "/source with spaces!";
2023-05-13 00:08:12 +02:00
nmt.script = ''
assertFileExists 'home-files/source with spaces!';
assertFileContent 'home-files/source with spaces!' \
${
builtins.path {
path = ./. + "/source with spaces!";
name = "source-with-spaces-expected";
}
2023-05-13 00:08:12 +02:00
}
'';
}