gocryptfs: build documentation on aarch64-darwin again

because pandoc is now available
This commit is contained in:
Pavol Rusnak 2021-09-05 22:09:29 +02:00
parent 105b9fcb8b
commit 8c60eaa66a
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -8,12 +8,6 @@
, libfido2
}:
let
# pandoc is currently broken on aarch64-darwin
# because of missing ghc
brokenPandoc = stdenv.isDarwin && stdenv.isAarch64;
in
buildGoModule rec {
pname = "gocryptfs";
version = "2.1";
@ -29,7 +23,6 @@ buildGoModule rec {
nativeBuildInputs = [
pkg-config
] ++ lib.optionals (!brokenPandoc) [
pandoc
];
@ -45,7 +38,7 @@ buildGoModule rec {
subPackages = [ "." "gocryptfs-xray" "contrib/statfs" ];
postBuild = lib.optionalString (!brokenPandoc) ''
postBuild = ''
pushd Documentation/
mkdir -p $out/share/man/man1
# taken from Documentation/MANPAGE-render.bash