mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Merge branch 'master' of github.com:ip1981/nixpkgs
Fixes for atool & sysstat
This commit is contained in:
commit
af4455d853
@ -15,14 +15,8 @@ stdenv.mkDerivation rec {
|
||||
export PATH_CHKCONFIG=/no-such-program
|
||||
export BZIP=${bzip2}/bin/bzip2
|
||||
export SYSTEMCTL=systemctl
|
||||
makeFlagsArray=(SYSCONFIG_DIR=$out/etc CHOWN=true IGNORE_MAN_GROUP=y CHOWN=true)
|
||||
installFlagsArray=(SA_DIR=$TMPDIR/dummy)
|
||||
# Note: --enable-install-cron actually installs systemd units.
|
||||
configureFlagsArray+=(--with-systemdsystemunitdir=$out/lib/systemd/system --enable-install-cron)
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/lib/systemd/system
|
||||
makeFlagsArray=(DESTDIR=$out SYSCONFIG_DIR=$out/etc IGNORE_MAN_GROUP=y CHOWN=true)
|
||||
installTargets="install_base install_nls install_man"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, perl}:
|
||||
{stdenv, fetchurl, perl, bash}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "atool-0.39.0";
|
||||
@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ perl ];
|
||||
configureScript = "${bash}/bin/bash configure";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nongnu.org/atool;
|
||||
|
Loading…
Reference in New Issue
Block a user