nixpkgs/nixos
Maximilian Bosch a9e3ec1d6e
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 = {
    /* ... */
  };
}
```
2020-04-04 21:11:21 +02:00
..
doc mariadb: add option to build server without tokudb storage 2020-04-02 18:05:04 +03:00
lib Revert "make-options-doc: fix string context issues" 2020-04-02 00:53:54 +02:00
maintainers nixos/azure: clarify how users work in basic example 2020-03-29 13:56:55 -07:00
modules nixos/systemd-nspawn: disallow multiple packages with .nspawn-units 2020-04-04 21:11:21 +02:00
tests Merge pull request #83894 from symphorien/unbreak-os-prober-test 2020-03-31 22:17:27 +02:00
COPYING
default.nix
README
release-combined.nix release-combined.tested: readd boot.biosUsb test 2020-02-22 10:43:26 +01:00
release-small.nix nixos/release-small.nix: Export options job 2020-03-24 21:17:53 +01:00
release.nix nixos/release.nix: Import './..' instead of nixpkgs 2020-02-12 22:44:59 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.