@@ -38,7 +38,7 @@ let
3838 makeConfig = { testChannel, grubVersion, grubDevice, grubIdentifier
3939 , readOnly ? true, forceGrubReinstallCount ? 0 }:
4040 pkgs.writeText "configuration.nix" ''
41− { config, pkgs, modulesPath, ... }:
41+ { config, lib, pkgs, modulesPath, ... }:
4242
4343 { imports =
4444 [ ./hardware-configuration.nix
@@ -58,7 +58,7 @@ let
5858
5959 ${optionalString (!readOnly) "nix.readOnlyStore = false;"}
6060
61− swapDevices = mkOverride 0 [ ];
61+ swapDevices = lib.mkOverride 0 [ ];
6262
6363 environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ];
6464 }
@@ -68,7 +68,7 @@ let
6868 # Configuration of a web server that simulates the Nixpkgs channel
6969 # distribution server.
7070 webserver =
71− { config, pkgs, ... }:
71+ { config, lib, pkgs, ... }:
7272
7373 { services.httpd.enable = true;
7474 services.httpd.adminAddr = "foo@example.org";