diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-11-17 15:26:39 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-11-17 15:26:39 +0100 |
commit | 3daa256728e29f9059a79b8ecaf9325e52f1704a (patch) | |
tree | a11cb92008309e60c0510ec8df99490a894d058a | |
parent | f4e790cc854fd7b29a33309ef07535de761b9606 (diff) |
Remove tests.binaryTarball
This test no longer works on Hydra because import-from-derivation is
no longer allowed.
-rw-r--r-- | flake.nix | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -388,38 +388,6 @@ inherit (self) overlay; }); - # Test whether the binary tarball works in an Ubuntu system. - tests.binaryTarball = - with nixpkgsFor.x86_64-linux; - vmTools.runInLinuxImage (runCommand "nix-binary-tarball-test" - { diskImage = vmTools.diskImages.ubuntu1204x86_64; - } - '' - set -x - useradd -m alice - su - alice -c 'tar xf ${self.hydraJobs.binaryTarball.x86_64-linux}/*.tar.*' - mkdir /dest-nix - mount -o bind /dest-nix /nix # Provide a writable /nix. - chown alice /nix - su - alice -c '_NIX_INSTALLER_TEST=1 ./nix-*/install' - su - alice -c 'nix-store --verify' - su - alice -c 'PAGER= nix-store -qR ${self.hydraJobs.build.x86_64-linux}' - - # Check whether 'nix upgrade-nix' works. - cat > /tmp/paths.nix <<EOF - { - x86_64-linux = "${self.hydraJobs.build.x86_64-linux}"; - } - EOF - su - alice -c 'nix --experimental-features nix-command upgrade-nix -vvv --nix-store-paths-url file:///tmp/paths.nix' - (! [ -L /home/alice/.profile-1-link ]) - su - alice -c 'PAGER= nix-store -qR ${self.hydraJobs.build.x86_64-linux}' - - mkdir -p $out/nix-support - touch $out/nix-support/hydra-build-products - umount /nix - ''); - /* # Check whether we can still evaluate all of Nixpkgs. tests.evalNixpkgs = |