aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2020-04-10 00:25:21 +0200
committerRobert Helgesson <robert@rycee.net>2020-04-10 01:01:20 +0200
commitebdfa06685966bd3793213cd3b2d21fd279373e4 (patch)
tree6ee20e6ea2256e75137d112d11c2904cda7a9807 /tests
parent41094aa3c7674e5278ea681397285421fd18e44b (diff)
tests: update nmt
Diffstat (limited to 'tests')
-rw-r--r--tests/default.nix4
-rw-r--r--tests/modules/services/polybar/basic-configuration.nix2
-rw-r--r--tests/modules/services/sxhkd/configuration.nix2
-rw-r--r--tests/modules/services/sxhkd/service.nix2
-rw-r--r--tests/modules/systemd/services.nix2
-rw-r--r--tests/modules/systemd/session-variables.nix2
-rw-r--r--tests/modules/systemd/timers.nix4
7 files changed, 9 insertions, 9 deletions
diff --git a/tests/default.nix b/tests/default.nix
index 493672d7164..8913859dac2 100644
--- a/tests/default.nix
+++ b/tests/default.nix
@@ -7,8 +7,8 @@ let
nmt = pkgs.fetchFromGitLab {
owner = "rycee";
repo = "nmt";
- rev = "4174e11107ba808b3001ede2f9f245481dfdfb2e";
- sha256 = "0vzdh7211dxmd4c3371l5b2v5i3b8rip2axk8l5xqlwddp3jiy5n";
+ rev = "ae9ce0033dbd28b4774142a67369f41c11753555";
+ sha256 = "1m5jqhflykya5h6s69ps6r70ffbsr6qkxdq1miqa68msshl21f9y";
};
modules = import ../modules/modules.nix {
diff --git a/tests/modules/services/polybar/basic-configuration.nix b/tests/modules/services/polybar/basic-configuration.nix
index a50bcdf5308..a8886dab6d5 100644
--- a/tests/modules/services/polybar/basic-configuration.nix
+++ b/tests/modules/services/polybar/basic-configuration.nix
@@ -34,7 +34,7 @@
};
nmt.script = ''
- local serviceFile=home-files/.config/systemd/user/polybar.service
+ serviceFile=home-files/.config/systemd/user/polybar.service
assertFileExists $serviceFile
assertFileRegex $serviceFile 'X-Restart-Triggers=.*polybar\.conf'
diff --git a/tests/modules/services/sxhkd/configuration.nix b/tests/modules/services/sxhkd/configuration.nix
index 3c9d8b52b76..03206a8d52b 100644
--- a/tests/modules/services/sxhkd/configuration.nix
+++ b/tests/modules/services/sxhkd/configuration.nix
@@ -23,7 +23,7 @@
[ (self: super: { sxhkd = pkgs.writeScriptBin "dummy-sxhkd" ""; }) ];
nmt.script = ''
- local sxhkdrc=home-files/.config/sxhkd/sxhkdrc
+ sxhkdrc=home-files/.config/sxhkd/sxhkdrc
assertFileExists $sxhkdrc
diff --git a/tests/modules/services/sxhkd/service.nix b/tests/modules/services/sxhkd/service.nix
index 46ce259a718..9b4fd70cc55 100644
--- a/tests/modules/services/sxhkd/service.nix
+++ b/tests/modules/services/sxhkd/service.nix
@@ -7,7 +7,7 @@
};
nmt.script = ''
- local serviceFile=home-files/.config/systemd/user/sxhkd.service
+ serviceFile=home-files/.config/systemd/user/sxhkd.service
assertFileExists $serviceFile
diff --git a/tests/modules/systemd/services.nix b/tests/modules/systemd/services.nix
index f1f7a42bb1a..ea9b2b4fb87 100644
--- a/tests/modules/systemd/services.nix
+++ b/tests/modules/systemd/services.nix
@@ -15,7 +15,7 @@ with lib;
};
nmt.script = ''
- local serviceFile=home-files/.config/systemd/user/test-service@.service
+ serviceFile=home-files/.config/systemd/user/test-service@.service
assertFileExists $serviceFile
assertFileContent $serviceFile ${./services-expected.conf}
'';
diff --git a/tests/modules/systemd/session-variables.nix b/tests/modules/systemd/session-variables.nix
index 7cfb4a6c7c3..b725827ce69 100644
--- a/tests/modules/systemd/session-variables.nix
+++ b/tests/modules/systemd/session-variables.nix
@@ -10,7 +10,7 @@ with lib;
};
nmt.script = ''
- local envFile=home-files/.config/environment.d/10-home-manager.conf
+ envFile=home-files/.config/environment.d/10-home-manager.conf
assertFileExists $envFile
assertFileContent $envFile ${./session-variables-expected.conf}
'';
diff --git a/tests/modules/systemd/timers.nix b/tests/modules/systemd/timers.nix
index eaa43f17695..1c0e2722299 100644
--- a/tests/modules/systemd/timers.nix
+++ b/tests/modules/systemd/timers.nix
@@ -13,8 +13,8 @@ with lib;
};
nmt.script = ''
- local unitDir=home-files/.config/systemd/user
- local timerFile=$unitDir/test-timer.timer
+ unitDir=home-files/.config/systemd/user
+ timerFile=$unitDir/test-timer.timer
assertFileExists $timerFile
assertFileContent $timerFile ${./timers-expected.conf}