From 229040285cd30c5a09e082f6a9a6257b42ba9961 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 2 Nov 2022 11:08:10 +0800 Subject: [PATCH] libkrun: 1.3.0 -> 1.4.6 --- pkgs/development/libraries/libkrun/default.nix | 8 ++++---- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/libkrun/default.nix b/pkgs/development/libraries/libkrun/default.nix index 779f6790c558..ec707e2cdd92 100644 --- a/pkgs/development/libraries/libkrun/default.nix +++ b/pkgs/development/libraries/libkrun/default.nix @@ -15,21 +15,21 @@ stdenv.mkDerivation rec { pname = "libkrun"; - version = "1.3.0"; + version = "1.4.6"; src = if stdenv.isLinux then fetchFromGitHub { owner = "containers"; repo = pname; rev = "v${version}"; - hash = "sha256-qVyEqiqaQ8wfZhL5u+Bsaa1yXlgHUitSj5bo7FJ5Y8c="; + hash = "sha256-hy0qd5JMqaHUxM7rH7HOkIccMbWLnmwh3226yR1HWOM="; } else fetchurl { url = "https://github.com/containers/libkrun/releases/download/v${version}/v${version}-with_macos_prebuilts.tar.gz"; - hash = "sha256-RBqeGUhB6Sdt+JujyQBW/76mZwnT0LNs9AMYr8+OCVU="; + hash = "sha256-Fvl3HnBEfN4umBBn0Jgyuky98eJURG0bUClfqcPCNVk="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; - hash = "sha256-jxSzhj1iU8qY+sZEVCYTaUqpaA4egjJi9qxrapASQF0="; + hash = "sha256-mnWySP4X1AWsCuobC3uGV81Xp1RckTzQf6EGXD4E608="; }; nativeBuildInputs = with rustPlatform; [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4bae0a7823cb..2b44e649c773 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25210,7 +25210,7 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Hypervisor; }; - libkrun-sev = callPackage ../development/libraries/libkrun { sevVariant = true; }; + libkrun-sev = libkrun.override { sevVariant = true; }; libkrunfw = callPackage ../development/libraries/libkrunfw { };