From b9f07bf7065840038abcd310500604c141f41154 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 4 May 2020 12:01:17 +0200 Subject: [PATCH] test: use older qemu version for travis compatibility --- test/make-test.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/make-test.nix b/test/make-test.nix index 1450f8a..860751a 100644 --- a/test/make-test.nix +++ b/test/make-test.nix @@ -3,6 +3,11 @@ testArgs: let pkgs = import { config = {}; overlays = []; }; + pkgs19_09 = import (pkgs.fetchzip { + url = "https://github.com/NixOS/nixpkgs-channels/archive/a7ceb2536ab11973c59750c4c48994e3064a75fa.tar.gz"; + sha256 = "0hka65f31njqpq7i07l22z5rs7lkdfcl4pbqlmlsvnysb74ynyg1"; + }) { config = {}; overlays = []; }; + test = (import "${pkgs.path}/nixos/tests/make-test-python.nix") testArgs; fixedTest = { system ? builtins.currentSystem, ... }@args: @@ -22,7 +27,7 @@ let # QEMU 4.20 from unstable fails on Travis build nodes with message # "error: failed to set MSR 0x48b to 0x159ff00000000" # Use version 4.0.1 instead. - inherit (pkgs) qemu_test; + inherit (pkgs19_09) qemu_test; }; in test (args // { pkgs = pkgsFixed; });