xdg-user-dirs: hack-fix build on darwin
https://hydra.nixos.org/build/302010661/nixlog/3/tail
This commit is contained in:
parent
cd80d7e3fb
commit
11c800de02
@ -37,6 +37,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
docbook_xml_dtd_43
|
docbook_xml_dtd_43
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gettext ];
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gettext ];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = if stdenv.isDarwin then "-liconv" else null;
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
# fallback values need to be last
|
# fallback values need to be last
|
||||||
wrapProgram "$out/bin/xdg-user-dirs-update" \
|
wrapProgram "$out/bin/xdg-user-dirs-update" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user