mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
add
svn path=/nixpkgs/trunk/; revision=3721
This commit is contained in:
parent
a0da6723f3
commit
36c969565f
10
pkgs/os-specific/linux/mingetty-wrapper/builder.sh
Normal file
10
pkgs/os-specific/linux/mingetty-wrapper/builder.sh
Normal file
@ -0,0 +1,10 @@
|
||||
. $stdenv/setup
|
||||
#. $makeWrapper
|
||||
|
||||
ensureDir "$(dirname $out)"
|
||||
ensureDir "$(dirname $out/sbin/mingetty)"
|
||||
|
||||
cat > $out/sbin/mingetty << END
|
||||
#! $SHELL -e
|
||||
exec $mingetty/sbin/mingetty --loginprog=$shadowutils/bin/login "\$@"
|
||||
END
|
11
pkgs/os-specific/linux/mingetty-wrapper/default.nix
Normal file
11
pkgs/os-specific/linux/mingetty-wrapper/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, mingetty, shadowutils}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = mingetty.name;
|
||||
|
||||
builder = ./builder.sh;
|
||||
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
|
||||
|
||||
inherit mingetty shadowutils;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user