mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #70451 from joachifm/feat/pacman-enhancements
Pacman packaging enhancements
This commit is contained in:
commit
7f8b310eb8
@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig, perl, libarchive, openssl,
|
||||
zlib, bzip2, lzma }:
|
||||
zlib, bzip2, lzma, curl, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pacman";
|
||||
@ -10,15 +10,21 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "108xp6dhvp02jnzskhgzjmp9jvrxhhkffvmpvs3rrif7vj47xd76";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
# trying to build docs fails with a2x errors, unable to fix through asciidoc
|
||||
"--disable-doc"
|
||||
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
"--with-scriptlet-shell=${runtimeShell}"
|
||||
];
|
||||
|
||||
installFlags = [ "sysconfdir=${placeholder "out"}/etc" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ perl libarchive openssl zlib bzip2 lzma ];
|
||||
buildInputs = [ curl perl libarchive openssl zlib bzip2 lzma ];
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $out/bin/repo-add \
|
||||
|
Loading…
Reference in New Issue
Block a user