diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2020-04-04 21:11:21 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-04-04 21:11:21 +0200 |
| commit | a9e3ec1d6e6a819d5b57a53bb952a403238b9068 (patch) | |
| tree | be88af937148e931f78c36b3f5cbb366cd233df7 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 384a164a25a648f57b932e64df32c7fabbd77a3e (diff) | |
nixos/systemd-nspawn: disallow multiple packages with `.nspawn`-units
In contrast to `.service`-units, it's not possible to declare an
`overrides.conf`, however this is done by `generateUnits` for `.nspawn`
units as well. This change breaks the build if you have two derivations
configuring one nspawn unit.
This will happen in a case like this:
``` nix
{ pkgs, ... }: {
systemd.packages = [
(pkgs.writeTextDir "etc/systemd/nspawn/container0.nspawn" ''
[Files]
Bind=/tmp
'')
];
systemd.nspawn.container0 = {
/* ... */
};
}
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
