File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
modules/services/hardware Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 5757 packages = lib . unique ( map toString udevPackages ) ;
5858
5959 nativeBuildInputs = [
60- pkgs . systemdMinimal
60+ # We only include the out output here to avoid needing to include all
61+ # other outputs in the installer tests as well
62+ # We only need the udevadm command anyway
63+ pkgs . systemdMinimal . out
6164 ] ;
6265 }
6366 ''
Original file line number Diff line number Diff line change 681681 {
682682 # The configuration of the system used to run "nixos-install".
683683 installer =
684- { config , ... } :
684+ { config , pkgs , ... } :
685685 {
686686 imports = [
687687 commonConfig
740740 xorg . lndir
741741 shellcheck-minimal
742742
743+ # Only the out output is included here, which is what is
744+ # required to build the NixOS udev rules
745+ # See the comment in services/hardware/udev.nix
746+ systemdMinimal . out
747+
743748 # add curl so that rather than seeing the test attempt to download
744749 # curl's tarball, we see what it's trying to download
745750 curl
You can’t perform that action at this time.
0 commit comments