Unverified Commit d22b10d5 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #311616 from alyssais/libeatmydata-musl

Revert "pkgsMusl.libeatmydata: fix build"
parents 1bbef373 9c999054
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch2
, autoreconfHook
, strace
, which
@@ -18,14 +17,6 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-0lrYDW51/KSr809whGwg9FYhzcLRfmoxipIgrK1zFCc=";
  };

  patches = [
    # Fixes "error: redefinition of 'open'" on musl
    (fetchpatch2 {
      url = "https://raw.githubusercontent.com/void-linux/void-packages/861ac185a6b60134292ff93d40e40b5391d0aa8e/srcpkgs/libeatmydata/patches/musl.patch";
      hash = "sha256-MZfTgf2Qn94UpPlYNRM2zK99iKQorKQrlbU5/1WJhJM=";
    })
  ];

  postPatch = ''
    patchShebangs .
  '';