about summary refs log tree commit diff
path: root/nixos/tests/containers-custom-pkgs.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-12-27maintainers: Remove adisbladis as maintainer from various packagesadisbladis1-1/+1
These are a handful of packages I no longer use or/and have lost interest in.
2022-06-26treewide: rename maintainer `earvstedt` -> `erikarvstedt`Erik Arvstedt1-1/+1
The maintainer name now matches the Github username, which simplifies maintainer notifications.
2022-03-28treewide: machine -> nodes.machineRobert Hensing1-1/+1
2021-05-09nixosTests.containers-custom-pkgs: lintMaximilian Bosch1-1/+1
The new linter basically does def testScript # ... before calling `pyflakes`. As this test-script is empty, it would lead to a syntax-error unless `pass` is added.
2021-02-26nixos/containers: styling improvementsPatryk Wychowaniec1-3/+3
2021-01-15nixos-container: fix `nixpkgs` container options being ignoredErik Arvstedt1-17/+18
Since the introduction of option `containers.<name>.pkgs`, the `nixpkgs.*` options (including `nixpkgs.pkgs`, `nixpkgs.config`, ...) were always ignored in container configs, which broke existing containers. This was due to `containers.<name>.pkgs` having two separate effects: (1) It sets the source for the modules that are used to evaluate the container. (2) It sets the `pkgs` arg (`_module.args.pkgs`) that is used inside the container modules. This happens even when the default value of `containers.<name>.pkgs` is unchanged, in which case the container `pkgs` arg is set to the pkgs of the host system. Previously, the `pkgs` arg was determined by the `containers.<name>.config.nixpkgs.*` options. This commit reverts the breaking change (2) while adding a backwards-compatible way to achieve (1). It removes option `pkgs` and adds option `nixpkgs` which implements (1). Existing users of `pkgs` are informed by an error message to use option `nixpkgs` or to achieve only (2) by setting option `containers.<name>.config.nixpkgs.pkgs`.
2020-12-15tests/containers-custom-pkgs: improve testErik Arvstedt1-20/+11
- Fix name - Remove unneeded leftovers that were copied from containers-hosts.nix - Remove redundant 'start_all()'
2020-04-20nixos-containers: Add support for custom nixpkgs argumentadisbladis1-0/+42