robodoc: fix build on darwin
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
}:
|
||||
|
||||
@@ -16,6 +17,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-l3prSdaGhOvXmZfCPbsZJNocO7y20zJjLQpajRTJOqE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "troff_generator-fix";
|
||||
url = "https://github.com/gumpu/ROBODoc/commit/0f8b35c42523810415bec70bb2200d2ecb41c82f.patch?index=full";
|
||||
hash = "sha256-Pbuc1gHrOeHbR4QT/dZ8wP+vqYQlilayjCGKOJP5wvk=";
|
||||
})
|
||||
];
|
||||
|
||||
postConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace Docs/makefile.am \
|
||||
--replace 'man1_MANS = robodoc.1 robohdrs.1' 'man1_MANS ='
|
||||
|
||||
Reference in New Issue
Block a user