1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/os-specific/linux/mingetty/default.nix
Lluís Batlle i Rossell 794b722cca Making sysvinit and mingetty crossbuild
svn path=/nixpkgs/branches/stdenv-updates/; revision=24829
2010-11-23 20:47:23 +00:00

24 lines
510 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "mingetty-1.08";
src = fetchurl {
url = mirror://sourceforge/mingetty/mingetty-1.08.tar.gz;
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
};
crossAttrs = {
makeFlags = "CC=${stdenv.cross.config}-gcc";
};
preInstall = ''
ensureDir $out/sbin $out/share/man/man8
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
'';
meta = {
homepage = http://sourceforge.net/projects/mingetty;
};
}