diff options
author | Klemens Nanni <klemens@posteo.de> | 2022-05-10 19:01:48 +0200 |
---|---|---|
committer | Klemens Nanni <klemens@posteo.de> | 2022-05-16 16:52:25 +0200 |
commit | cbcc746f8f521849687d225c4a3f85b2beb24168 (patch) | |
tree | d5f3fbf36716d76ebfbfd7841110795959f582b3 /nixos/release-small.nix | |
parent | 3e789af26cb39c8e25678616c184579532562058 (diff) | |
download | nixpkgs-cbcc746f8f521849687d225c4a3f85b2beb24168.tar nixpkgs-cbcc746f8f521849687d225c4a3f85b2beb24168.tar.gz nixpkgs-cbcc746f8f521849687d225c4a3f85b2beb24168.tar.bz2 nixpkgs-cbcc746f8f521849687d225c4a3f85b2beb24168.tar.lz nixpkgs-cbcc746f8f521849687d225c4a3f85b2beb24168.tar.xz nixpkgs-cbcc746f8f521849687d225c4a3f85b2beb24168.tar.zst nixpkgs-cbcc746f8f521849687d225c4a3f85b2beb24168.zip |
nixos/systemd: Package only built component units
Account for all `with*` options causing their respective unit files to not be built, just like the current code `withCryptsetup` already does. This fixes build errors like the following: ``` missing /nix/store/5fafsfms64fn3ywv274ky7arhm9yq2if-systemd-250.4/example/systemd/system/systemd-importd.service error: builder for '/nix/store/67rdli5q5akzwmqgf8q0a1yp76jgr0px-system-units.drv' failed with exit code 1 ``` Found by using a customised systemd package as follows: ``` systemd.package = pkgs.systemd-small; nixpkgs.config.packageOverrides = pkgs: { "systemd-small" = pkgs.systemd.override { withImportd = false; withMachined = false; ... }; }; ```
Diffstat (limited to 'nixos/release-small.nix')
0 files changed, 0 insertions, 0 deletions