* A more pragmatic solution to the missing tar manpage problem.

svn path=/nixos/trunk/; revision=32770
This commit is contained in:
Eelco Dolstra 2012-03-04 15:47:44 +00:00
parent 0d39390ad4
commit 6c792b3d9e
3 changed files with 14 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# This module defines the packages that appear in
# /var/run/current-system/sw.
{pkgs, config, ...}:
{ config, pkgs, ... }:
with pkgs.lib;
@ -9,6 +9,12 @@ let
cfg = config.environment;
extraManpages = pkgs.runCommand "extra-manpages" { buildInputs = [ pkgs.help2man ]; }
''
mkdir -p $out/share/man/man1
help2man ${pkgs.gnutar}/bin/tar > $out/share/man/man1/tar.1
'';
requiredPackages =
[ config.system.sbin.modprobe # must take precedence over module_init_tools
config.system.sbin.mount # must take precedence over util-linux
@ -29,7 +35,7 @@ let
pkgs.gnugrep
pkgs.gnupatch
pkgs.gnused
pkgs.gnutarWithMan
pkgs.gnutar
pkgs.gzip
pkgs.less
pkgs.libcap
@ -52,6 +58,7 @@ let
pkgs.udev
pkgs.usbutils
pkgs.utillinux
extraManpages
];

View file

@ -113,7 +113,7 @@
./services/networking/bitlbee.nix
./services/networking/cntlm.nix
./services/networking/ddclient.nix
./services/networking/dhclient.nix
./services/networking/dhcpcd.nix
./services/networking/dhcpd.nix
./services/networking/dnsmasq.nix
./services/networking/ejabberd.nix

View file

@ -33,6 +33,9 @@ let
# Ethernet cards used for bridging. Likewise for vif* and tap*
# (Xen) and virbr* and vnet* (libvirt).
denyinterfaces ${toString ignoredInterfaces} peth* vif* tap* tun* virbr* vnet* vboxnet*
# Disable listening for IPv6 Router Advertisements for now.
noipv6rs
'';
# Hook for emitting ip-up/ip-down events.
@ -72,7 +75,7 @@ in
path = [ dhcpcd pkgs.nettools pkgs.openresolv ];
exec = "dhcpcd --config ${dhcpcdConf} --nobackground --persistent";
exec = "dhcpcd --config ${dhcpcdConf} --nobackground";
};
environment.systemPackages = [ dhcpcd ];