From 19468c1ee503411d47e739acb559b095d1ad09c5 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 12 Jul 2025 12:46:28 -0400 Subject: [PATCH 1/2] bootc: 1.1.2 -> 1.4.0 Diff: https://github.com/containers/bootc/compare/v1.1.2...v1.4.0 --- pkgs/by-name/bo/bootc/package.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/bo/bootc/package.nix b/pkgs/by-name/bo/bootc/package.nix index a2a7fa796bf3..126c5a4c8d98 100644 --- a/pkgs/by-name/bo/bootc/package.nix +++ b/pkgs/by-name/bo/bootc/package.nix @@ -13,16 +13,16 @@ rustPlatform.buildRustPackage rec { pname = "bootc"; - version = "1.1.2"; + version = "1.4.0"; useFetchCargoVendor = true; - cargoHash = "sha256-/Sb2XtVguj5zpj/OTl90xFHFSaBeLgb8xIlNm4UrnRI="; + cargoHash = "sha256-7Fn68bcm8ZyR5eALCMIdcXcZ595EnWFHKdnqI5vMso4="; doInstallCheck = true; src = fetchFromGitHub { owner = "containers"; repo = "bootc"; rev = "v${version}"; - hash = "sha256-p1+j62MllmPcvWnijieSZmlgwYy76X17fv12Haetz78="; + hash = "sha256-FuU3rQtKpK+ScQ10GivisSJseY2GOFJ/y2HRKIiU0G8="; }; nativeBuildInputs = [ pkg-config ]; @@ -35,6 +35,19 @@ rustPlatform.buildRustPackage rec { ostree-full ]; + checkFlags = [ + # These all require a writable /var/tmp + "--skip=test_cli_fns" + "--skip=test_diff" + "--skip=test_tar_export_reproducible" + "--skip=test_tar_export_structure" + "--skip=test_tar_import_empty" + "--skip=test_tar_import_export" + "--skip=test_tar_import_signed" + "--skip=test_tar_write" + "--skip=test_tar_write_tar_layer" + ]; + nativeInstallCheckInputs = [ versionCheckHook ]; From 13e949783ecb4d22f37673838e1886c1b5441ce0 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 12 Jul 2025 12:47:35 -0400 Subject: [PATCH 2/2] bootc: update upstream https://github.com/containers/bootc redirects to https://github.com/bootc-dev/bootc --- pkgs/by-name/bo/bootc/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bo/bootc/package.nix b/pkgs/by-name/bo/bootc/package.nix index 126c5a4c8d98..e0f4f3a0473c 100644 --- a/pkgs/by-name/bo/bootc/package.nix +++ b/pkgs/by-name/bo/bootc/package.nix @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { doInstallCheck = true; src = fetchFromGitHub { - owner = "containers"; + owner = "bootc-dev"; repo = "bootc"; rev = "v${version}"; hash = "sha256-FuU3rQtKpK+ScQ10GivisSJseY2GOFJ/y2HRKIiU0G8="; @@ -54,7 +54,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Boot and upgrade via container images"; - homepage = "https://containers.github.io/bootc"; + homepage = "https://bootc-dev.github.io/bootc"; license = lib.licenses.mit; mainProgram = "bootc"; maintainers = with lib.maintainers; [ thesola10 ];