pacman: set localstatedir to standard FHS path

Fixes https://github.com/NixOS/nixpkgs/issues/52981
This commit is contained in:
Joachim Fasting 2018-12-27 21:21:51 +01:00
parent c869fc2ac1
commit 5a42b5d076
No known key found for this signature in database
GPG Key ID: 5C204DF675C90294

View File

@ -10,8 +10,12 @@ stdenv.mkDerivation rec {
sha256 = "17g497q6ylq73rql9k2ji2l2b2bj3dd4am30z8i6khnhc0x8s2il";
};
# trying to build docs fails with a2x errors, unable to fix through asciidoc
configureFlags = [ "--disable-doc" ];
configureFlags = [
# trying to build docs fails with a2x errors, unable to fix through asciidoc
"--disable-doc"
"--localstatedir=/var"
];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ perl libarchive openssl zlib bzip2 lzma ];