rpm-ostree: 2022.13 -> 2023.1

This commit is contained in:
Weijia Wang
2023-01-29 21:01:56 +01:00
parent 4ed11a5c79
commit 97655c9381
2 changed files with 7 additions and 2 deletions
+5 -2
View File
@@ -40,13 +40,13 @@
stdenv.mkDerivation rec {
pname = "rpm-ostree";
version = "2022.13";
version = "2023.1";
outputs = [ "out" "dev" "man" "devdoc" ];
src = fetchurl {
url = "https://github.com/coreos/${pname}/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-3lU+Xmfyjs6AFnf+vE5xMSAntRoNeHBVrOJZLvv1YyY=";
hash = "sha256-JNLp1IHbIRpe3Au2iUsx7x065rirQlzT9bg7CoqHCyg=";
};
nativeBuildInputs = [
@@ -114,6 +114,9 @@ stdenv.mkDerivation rec {
env NOCONFIGURE=1 ./autogen.sh
'';
# https://github.com/NixOS/nixpkgs/issues/201254
NIX_LDFLAGS = lib.optionalString (stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU) "-lgcc";
meta = with lib; {
description = "A hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model";
homepage = "https://coreos.github.io/rpm-ostree/";
+2
View File
@@ -11457,6 +11457,8 @@ with pkgs;
rpm-ostree = callPackage ../tools/misc/rpm-ostree {
gperf = gperf_3_0;
# https://github.com/NixOS/nixpkgs/issues/201254
stdenv = if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU then gcc11Stdenv else stdenv;
};
rpm2targz = callPackage ../tools/archivers/rpm2targz { };