From 4f984654eeb4cee3d47ba896f626e486b362be8c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 8 Dec 2021 14:41:11 +0000 Subject: [PATCH 1/2] os-prober: 1.78 -> 1.79 --- pkgs/tools/misc/os-prober/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/os-prober/default.nix b/pkgs/tools/misc/os-prober/default.nix index bc5dbe4672e8..7fdbbc1fae65 100644 --- a/pkgs/tools/misc/os-prober/default.nix +++ b/pkgs/tools/misc/os-prober/default.nix @@ -11,14 +11,14 @@ lvm2 # lvs }: stdenv.mkDerivation rec { - version = "1.78"; + version = "1.79"; pname = "os-prober"; src = fetchFromGitLab { domain = "salsa.debian.org"; owner = "installer-team"; repo = pname; rev = version; - sha256 = "sha256-mfv1b40n/opXdyj6IXWVf/32sWlS+/DbXIRwE1zX4KM="; + sha256 = "sha256-ntwH5TIA18IOgYPkHMLU0EVykkHs6Z0wseYEPsU0KvQ="; }; nativeBuildInputs = [ makeWrapper ]; From 6f2ed3cd1e0a8de8ec132c7e1d6d821ce4ab9e2f Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Thu, 9 Dec 2021 12:00:00 +0000 Subject: [PATCH 2/2] nixosTests.os-prober: fix infinite recursion --- nixos/tests/os-prober.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/os-prober.nix b/nixos/tests/os-prober.nix index a7b955d44721..c1e29b0f68b4 100644 --- a/nixos/tests/os-prober.nix +++ b/nixos/tests/os-prober.nix @@ -53,12 +53,12 @@ let }; # /etc/nixos/configuration.nix for the vm configFile = pkgs.writeText "configuration.nix" '' - {config, pkgs, ...}: ({ + {config, pkgs, lib, ...}: ({ imports = [ ./hardware-configuration.nix ]; - } // pkgs.lib.importJSON ${ + } // lib.importJSON ${ pkgs.writeText "simpleConfig.json" (builtins.toJSON simpleConfig) }) ''; @@ -114,7 +114,7 @@ in { "${configFile}", "/etc/nixos/configuration.nix", ) - machine.succeed("nixos-rebuild boot >&2") + machine.succeed("nixos-rebuild boot --show-trace >&2") machine.succeed("egrep 'menuentry.*debian' /boot/grub/grub.cfg") '';