1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs
Klemens Nanni cbcc746f8f 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;
    ...
  };

};
```
2022-05-16 16:52:25 +02:00
..
applications tilt: 0.26.3 -> 0.30.0 (#173252) 2022-05-16 08:53:27 -04:00
build-support Merge pull request #173206 from SuperSandro2000/writeCBin 2022-05-16 06:58:47 +01:00
common-updater
data
desktops gnomeExtensions.vitals: remove workaround 2022-05-16 00:00:46 +02:00
development bullet: 3.22b -> 3.23 2022-05-16 21:58:02 +08:00
games xivlauncher: 1.0.0.4 -> 1.0.0.9 2022-05-15 13:50:42 -07:00
misc
os-specific nixos/systemd: Package only built component units 2022-05-16 16:52:25 +02:00
pkgs-lib
servers libreddit: 0.22.6 -> 0.22.7 2022-05-16 09:04:37 +02:00
shells
stdenv
test
tools Merge pull request #172851 from DeterminateSystems/clamav 2022-05-16 14:19:32 +02:00
top-level tilt: 0.26.3 -> 0.30.0 (#173252) 2022-05-16 08:53:27 -04:00