From 9e5aa25c538e411ee857847275b63ee4137ac3c6 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sun, 1 Sep 2019 12:57:21 -0400 Subject: sd-image: don't use installer.cloneConfig option that is not imported This once again allows sd-image.nix to imported standalone to build SD images of arbitrary NixOS systems. --- nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix') diff --git a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix index 8c9090471dc..2a131d9ce98 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix @@ -45,4 +45,8 @@ in ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./files/boot ''; }; + + # the installation media is also the installation target, + # so we don't want to provide the installation configuration.nix. + installer.cloneConfig = false; } -- cgit 1.4.1