From f7402854717e287d2405933d7a3d478d9f9ba4e9 Mon Sep 17 00:00:00 2001 From: sm-idk <43745781+sm-idk@users.noreply.github.com> Date: Mon, 30 Mar 2026 18:16:34 +0200 Subject: [PATCH] libkrun: 1.17.0 -> 1.17.4 Changelog: https://github.com/containers/libkrun/releases/tag/v1.17.4 Diff: https://github.com/containers/libkrun/compare/v1.17.0...v1.17.4 --- pkgs/by-name/li/libkrun/package.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/li/libkrun/package.nix b/pkgs/by-name/li/libkrun/package.nix index 4630a6fb1926..aecdc47cb31f 100644 --- a/pkgs/by-name/li/libkrun/package.nix +++ b/pkgs/by-name/li/libkrun/package.nix @@ -7,6 +7,7 @@ pkg-config, glibc, openssl, + libcap_ng, libepoxy, libdrm, pipewire, @@ -33,13 +34,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "libkrun" + lib.optionalString (variant != null) "-${variant}"; - version = "1.17.0"; + version = "1.17.4"; src = fetchFromGitHub { owner = "containers"; repo = "libkrun"; tag = "v${finalAttrs.version}"; - hash = "sha256-6HBSL5Zu29sDoEbZeQ6AsNIXUcqXVVGMk0AR2X6v1yU="; + hash = "sha256-Th4vCg3xHb6lbo26IDZES7tLOUAJTebQK2+h3xSYX7U="; }; outputs = [ @@ -49,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; - hash = "sha256-UIzbtBJH6aivoIxko1Wxdod/jUN44pERX9Hd+v7TC3Q="; + hash = "sha256-0xpAyNe1jF1OMtc7FXMsejqIv0xKc1ktEvm3rj/mVFU="; }; # Make sure libkrunfw can be found by dlopen() @@ -65,11 +66,12 @@ stdenv.mkDerivation (finalAttrs: { rustPlatform.cargoSetupHook rustPlatform.bindgenHook cargo + pkg-config rustc - ] - ++ lib.optional (variant == "sev" || variant == "tdx" || withGpu) pkg-config; + ]; buildInputs = [ + libcap_ng libkrunfw' glibc glibc.static