/bin/sh -> ${stdenv.shell}

This commit is contained in:
rht
2017-04-30 17:01:07 +02:00
committed by Michael Raskin
parent 83129a6eed
commit 5628cebcf0
6 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ rec {
export PATH=${shadow}/bin:$PATH
mkdir -p /etc/pam.d
if [[ ! -f /etc/passwd ]]; then
echo "root:x:0:0::/root:/bin/sh" > /etc/passwd
echo "root:x:0:0::/root:${stdenv.shell}" > /etc/passwd
echo "root:!x:::::::" > /etc/shadow
fi
if [[ ! -f /etc/group ]]; then