pkgsMusl.libeatmydata: fix build
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, strace, which }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, strace, which }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libeatmydata";
|
pname = "libeatmydata";
|
||||||
@@ -11,7 +11,16 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0sx803h46i81h67xbpd3c7ky0nhaw4gij214nsx4lqig70223v9r";
|
sha256 = "0sx803h46i81h67xbpd3c7ky0nhaw4gij214nsx4lqig70223v9r";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./find-shell-lib.patch ];
|
patches = [
|
||||||
|
./find-shell-lib.patch
|
||||||
|
|
||||||
|
# Fixes "error: redefinition of 'open'" on musl
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/void-linux/void-packages/861ac185a6b60134292ff93d40e40b5391d0aa8e/srcpkgs/libeatmydata/patches/musl.patch";
|
||||||
|
stripLen = 1;
|
||||||
|
sha256 = "sha256-yfMfISbYL7r/R2C9hYPjvGcpUB553QSiW0rMrxG11Oo=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
patchFlags = [ "-p0" ];
|
patchFlags = [ "-p0" ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user