forked from mirrors/nixpkgs
patchelfUnstable: 2021-11-16 -> 2022-02-21
Among other things fixes build failure against gcc-12. While at it added trivial updater for git repository.
This commit is contained in:
parent
f22969e855
commit
7513cd2f5a
|
@ -1,14 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
|
{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub, unstableGitUpdater }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "patchelf";
|
pname = "patchelf";
|
||||||
version = "2021-11-16";
|
version = "unstable-2022-02-21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "patchelf";
|
repo = "patchelf";
|
||||||
rev = "a174cf3006baf31e0e9eaa62bc9adead93af63f7";
|
rev = "a35054504293f9ff64539850d1ed0bfd2f5399f2";
|
||||||
sha256 = "sha256-cKZ4DE70R5XiIqfnIVAl2s7a1bJxaaPpuCmxs3pxFRU=";
|
sha256 = "sha256-/hD/abmzWSkDhAWPLHiLQQ9cwJF8oFDuovNzRqs3Bho=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Drop test that fails on musl (?)
|
# Drop test that fails on musl (?)
|
||||||
|
@ -24,6 +24,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = unstableGitUpdater {
|
||||||
|
url = "https://github.com/NixOS/patchelf.git";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/NixOS/patchelf";
|
homepage = "https://github.com/NixOS/patchelf";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
|
Loading…
Reference in a new issue