Unverified Commit 9f6bee28 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #220741 from alyssais/pahole-linux-6.3-rc1

pahole: 1.24-unstable-2022-11-24 -> 1.24-unstable-2023-03-02
parents 9ddea5b0 8bc170b1
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
{ lib, stdenv, fetchgit, pkg-config, libbpf, cmake, elfutils, zlib, argp-standalone, musl-obstack }:
{ lib, stdenv, fetchzip, pkg-config, libbpf, cmake, elfutils, zlib, argp-standalone, musl-obstack }:

stdenv.mkDerivation rec {
  pname = "pahole";
  # Need a revision that supports DW_TAG_unspecified_type(0x3b).
  # Was added after 1.24 release in a series of changes.
  # Can switch back to release tags once 1.25 is cut.
  version = "1.24-unstable-2022-11-24";
  src = fetchgit {
    url = "https://git.kernel.org/pub/scm/devel/pahole/pahole.git";
    rev = "02d67c51765dfbd5893087da63744c864c7cc9e0";
    hash = "sha256-hKc8UKxPtEM2zlYmolSt1pXJKNRt4wC/Uf+dP/Sb7+s=";
  # Can switch back to release tags if they can build linux_testing.
  version = "1.24-unstable-2023-03-02";
  src = fetchzip {
    url = "https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-a9498899109d3be14f17abbc322a8f55a1067bee.tar.gz";
    sha256 = "xEKA6Fz6NaxNqSggvgswCU+7LlezGSNrK7cmt2JYv1Y=";
  };

  nativeBuildInputs = [ cmake pkg-config ];