mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
add shadowutils, with the following limitations:
- tools can only be run as root, because there's no store support for UNIX permissions svn path=/nixpkgs/trunk/; revision=1361
This commit is contained in:
parent
a2f6474f4d
commit
38f6f36889
3 changed files with 19 additions and 0 deletions
3
pkgs/os-specific/linux/shadow/builder.sh
Normal file
3
pkgs/os-specific/linux/shadow/builder.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
genericBuild
|
12
pkgs/os-specific/linux/shadow/default.nix
Normal file
12
pkgs/os-specific/linux/shadow/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "shadow-4.0.4.1";
|
||||||
|
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://ftp.pld.org.pl/software/shadow/shadow-4.0.4.1.tar.bz2;
|
||||||
|
md5 = "3a3d17d3d7c630b602baf66ae7434c61";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -672,6 +672,10 @@ rec {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
shadowutils = (import ../os-specific/linux/shadow) {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
iputils = (import ../os-specific/linux/iputils) {
|
iputils = (import ../os-specific/linux/iputils) {
|
||||||
inherit fetchurl stdenv kernelHeaders;
|
inherit fetchurl stdenv kernelHeaders;
|
||||||
glibc = stdenv.gcc.glibc;
|
glibc = stdenv.gcc.glibc;
|
||||||
|
|
Loading…
Reference in a new issue