mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
udisks2: revive musl patching
I believe we discussed this and believed this wasn't necessary, but without it the build breaks w/musl so re-add it.
This commit is contained in:
parent
01847b7c5f
commit
d94d3b39b9
@ -42,6 +42,12 @@ in stdenv.mkDerivation rec {
|
|||||||
gtk-doc libxslt docbook_xml_dtd_412 docbook_xml_dtd_43 docbook_xsl
|
gtk-doc libxslt docbook_xml_dtd_412 docbook_xml_dtd_43 docbook_xsl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||||
|
substituteInPlace udisks/udisksclient.c \
|
||||||
|
--replace 'defined( __GNUC_PREREQ)' 1 \
|
||||||
|
--replace '__GNUC_PREREQ(4,6)' 1
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
expat libgudev libblockdev acl systemd glib libatasmart polkit
|
expat libgudev libblockdev acl systemd glib libatasmart polkit
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user