summary refs log tree commit diff
path: root/nixos/tests/containers-imperative.nix
Commit message (Collapse)AuthorAge
* tests/containers-imperative: Include stdenvNoCCaszlig2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | While building the container there are a few occasions where stdenvNoCC is used underneath. During the last staging merge, some change now tries to build texinfo during the test while building stdenvNoCC. With this change, I'm adding stdenvNoCC to the closure to make sure that even when we have future stdenv changes, it doesn't break (well, except if we do have another variation like stdenvNoCC that overrides stdenv). I haven't bisected the exact change, but I'd suspect that it could be one of the commits in #39457. This fixes the test and it no longer fails with the following error: error: unable to download 'http://ftpmirror.gnu.org/texinfo/texinfo-6.5.tar.xz': Couldn't resolve host name (6) builder for '/nix/store/r7sf1wjbnimwgnv276jh59nfnzw40x30-texinfo-6.5.tar.xz.drv' failed with exit code 1 cannot build derivation '/nix/store/5w1pv788ayi1wahyy76i90yqv96ai4h5-texinfo-6.5.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/cnsfkf0j5xmm14zzm5a3a66pz66gbc82-stdenv-linux.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/11kkhk57ic8kfd7g197sqwgd0pzqfjhl-nixos-system-foo-0-18.09pre-git.drv': 1 dependencies couldn't be built error: build of '/nix/store/11kkhk57ic8kfd7g197sqwgd0pzqfjhl-nixos-system-foo-0-18.09pre-git.drv' failed /run/current-system/sw/bin/nixos-container: failed to build initial container configuration Signed-off-by: aszlig <aszlig@nix.build> Cc: @aristidb, @edolstra, @chaoflow, @kampfschlaefer
* nixos/tests: prevent stateVersion warnings in evalUli Baum2018-05-15
| | | | | ... introduced by 1f0b6922d3c continuation of 88fa50c2f2bbc472fe7169eac8f2a1b2312ef03b
* nixos/tests/containers-imperative: Fix evalaszlig2018-04-20
| | | | | | | | | | | The commit c6f7d4367894047592cc412740f0c1f5b2ca2b59 changed the system attribute to be below config.nixpkgs.localSystem, but the test still uses the old attribute. I have not tested whether the test actually succeeds but just checked whether evaluation works and it evaluates successfully now. Signed-off-by: aszlig <aszlig@nix.build>
* nixos.tests.containers-imperative: fix impurity failureVladimír Čunát2018-04-02
| | | | | I can't claim to fully understand this, but the change seems safe, and it fixes the test on my machine.
* containers: add myself to the maintainers of the testsArnold Krille2016-07-28
| | | | Seems like the right thing to do.
* nixos/tests/containers: Remove unused module argaszlig2016-05-04
| | | | | | | | | Just removing the system argument because it doesn't exist (it's actually config.nixpkgs.system, which we're already using). We won't get an error anyway if we're not actually using it, so this is just an aesthetics fix. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/containers-imperative: Fix testaszlig2016-05-04
| | | | | | | | | | | | | Make sure that we always have everything available within the store of the VM, so let's evaluate/build the test container fully on the host system and propagate all dependencies to the VM. This way, even if there are additional default dependencies that come with containers in the future we should be on the safe side as these dependencies should now be included for the test as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @kampfschlaefer, @edolstra
* containers tests: Distinguish declarative and imperative containersArnold Krille2016-04-02