commit
2459ddd4f6
@ -12,6 +12,8 @@ rec {
|
|||||||
toShellPath = shell:
|
toShellPath = shell:
|
||||||
if types.shellPackage.check shell then
|
if types.shellPackage.check shell then
|
||||||
"/run/current-system/sw${shell.shellPath}"
|
"/run/current-system/sw${shell.shellPath}"
|
||||||
|
else if types.package.check shell then
|
||||||
|
throw "${shell} is not a shell package"
|
||||||
else
|
else
|
||||||
shell;
|
shell;
|
||||||
}
|
}
|
||||||
|
@ -53,8 +53,9 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = http://pkg-shadow.alioth.debian.org/;
|
homepage = http://pkg-shadow.alioth.debian.org/;
|
||||||
description = "Suite containing authentication-related tools such as passwd and su";
|
description = "Suite containing authentication-related tools such as passwd and su";
|
||||||
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
shellPath = "/bin/nologin";
|
shellPath = "/bin/nologin";
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user