forked from mirrors/nixpkgs
Merge pull request #136805 from prusnak/gocryptfs
gocryptfs: build documentation on aarch64-darwin again
This commit is contained in:
commit
935e64716f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue