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,
|
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig, perl, libarchive, openssl,
|
||||||
zlib, bzip2, lzma }:
|
zlib, bzip2, lzma, curl, runtimeShell }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pacman";
|
pname = "pacman";
|
||||||
@ -10,15 +10,21 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "108xp6dhvp02jnzskhgzjmp9jvrxhhkffvmpvs3rrif7vj47xd76";
|
sha256 = "108xp6dhvp02jnzskhgzjmp9jvrxhhkffvmpvs3rrif7vj47xd76";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
# trying to build docs fails with a2x errors, unable to fix through asciidoc
|
# trying to build docs fails with a2x errors, unable to fix through asciidoc
|
||||||
"--disable-doc"
|
"--disable-doc"
|
||||||
|
|
||||||
|
"--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
|
"--with-scriptlet-shell=${runtimeShell}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
installFlags = [ "sysconfdir=${placeholder "out"}/etc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ perl libarchive openssl zlib bzip2 lzma ];
|
buildInputs = [ curl perl libarchive openssl zlib bzip2 lzma ];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
substituteInPlace $out/bin/repo-add \
|
substituteInPlace $out/bin/repo-add \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user