specialisation: add extra assertion
Assert that changes made in specialisations are effective.
This commit is contained in:
parent
c00a3920ce
commit
732ec18009
|
@ -1,7 +1,3 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file.testfile.text = "not special";
|
home.file.testfile.text = "not special";
|
||||||
specialisation.test.configuration = {
|
specialisation.test.configuration = {
|
||||||
|
@ -14,5 +10,6 @@ with lib;
|
||||||
|
|
||||||
assertFileExists specialisation/test/home-files/testfile
|
assertFileExists specialisation/test/home-files/testfile
|
||||||
assertFileContains specialisation/test/home-files/testfile "not special"
|
assertFileContains specialisation/test/home-files/testfile "not special"
|
||||||
|
assertFileContains specialisation/test/home-files/testfile "very special"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue