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