Merge pull request #136805 from prusnak/gocryptfs

gocryptfs: build documentation on aarch64-darwin again
This commit is contained in:
Jörg Thalheim 2021-09-07 03:36:16 +01:00 committed by GitHub
commit 935e64716f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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