diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-30 11:26:19 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-12 22:29:30 -0300 |
commit | 07b75a58e1664dc0913c2a1a5d0a6635987fe9ce (patch) | |
tree | 3d37e1eb6e41bb080a50bf6522f4a35abe5d94f3 /nixos/tests/systemd-timesyncd.nix | |
parent | bef35b3b88b0b3072d6a971d3e155d3055bc1ec9 (diff) |
nixos/tests/systemd-timesyncd.nix: get rid of `with lib`
Diffstat (limited to 'nixos/tests/systemd-timesyncd.nix')
-rw-r--r-- | nixos/tests/systemd-timesyncd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/systemd-timesyncd.nix b/nixos/tests/systemd-timesyncd.nix index ad5b9a47383bd..43abd36c47d97 100644 --- a/nixos/tests/systemd-timesyncd.nix +++ b/nixos/tests/systemd-timesyncd.nix @@ -11,11 +11,11 @@ in { name = "systemd-timesyncd"; nodes = { current = mkVM {}; - pre1909 = mkVM ({lib, ... }: with lib; { + pre1909 = mkVM ({lib, ... }: { # create the path that should be migrated by our activation script when # upgrading to a newer nixos version system.stateVersion = "19.03"; - system.activationScripts.simulate-old-timesync-state-dir = mkBefore '' + system.activationScripts.simulate-old-timesync-state-dir = lib.mkBefore '' rm -f /var/lib/systemd/timesync mkdir -p /var/lib/systemd /var/lib/private/systemd/timesync ln -s /var/lib/private/systemd/timesync /var/lib/systemd/timesync |