Unverified Commit 80ec877a authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

vendor-reset: unstable-2021-02-16 -> unstable-2024-04-16 (#305306)

parents 0067d47b e608384d
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -2,24 +2,15 @@

stdenv.mkDerivation rec {
  pname = "vendor-reset";
  version = "unstable-2021-02-16-${kernel.version}";
  version = "unstable-2024-04-16-${kernel.version}";

  src = fetchFromGitHub {
    owner = "gnif";
    repo = "vendor-reset";
    rev = "225a49a40941e350899e456366265cf82b87ad25";
    sha256 = "sha256-xa7P7+mRk4FVgi+YYCcsFLfyNqPmXvy3xhGoTDVqPxw=";
    rev = "084881c6e9e11bdadaf05798e669568848e698a3";
    hash = "sha256-Klu2uysbF5tH7SqVl815DwR7W+Vx6PyVDDLwoMZiqBI=";
  };

  patches = [
    # Fix build with Linux 5.18.
    # https://github.com/gnif/vendor-reset/pull/58
    (fetchpatch {
      url = "https://github.com/gnif/vendor-reset/commit/5bbffcd6fee5348e8808bdbfcb5b21d455b02f55.patch";
      sha256 = "sha256-L1QxVpcZAVYiaMFCBfL2EJgeMyOR8sDa1UqF1QB3bns=";
    })
  ];

  nativeBuildInputs = kernel.moduleBuildDependencies;

  hardeningDisable = [ "pic" ];