From 07b75a58e1664dc0913c2a1a5d0a6635987fe9ce Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH] nixos/tests/systemd-timesyncd.nix: get rid of `with lib` --- nixos/tests/systemd-timesyncd.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/systemd-timesyncd.nix b/nixos/tests/systemd-timesyncd.nix index ad5b9a47383b..43abd36c47d9 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