about summary refs log tree commit diff
path: root/nixos/modules/virtualisation/nixos-container.pl
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/virtualisation/nixos-container.pl')
-rw-r--r--nixos/modules/virtualisation/nixos-container.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/nixos-container.pl b/nixos/modules/virtualisation/nixos-container.pl
index d7e8c7339b6d..f04b2b3e74e2 100644
--- a/nixos/modules/virtualisation/nixos-container.pl
+++ b/nixos/modules/virtualisation/nixos-container.pl
@@ -59,9 +59,9 @@ sub writeNixOSConfig {
     my ($nixosConfigFile) = @_;
 
     my $nixosConfig = <<EOF;
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
 
-with pkgs.lib;
+with lib;
 
 { boot.isContainer = true;
   security.initialRootPassword = mkDefault "!";