mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 11:10:03 +00:00
Merge pull request #300993 from Strum355/sudoers-options-enum
nixos/sudo: update command options enum for newer sudo version
This commit is contained in:
commit
52257144db
|
@ -163,9 +163,9 @@ in
|
|||
};
|
||||
|
||||
options = mkOption {
|
||||
type = with types; listOf (enum [ "NOPASSWD" "PASSWD" "NOEXEC" "EXEC" "SETENV" "NOSETENV" "LOG_INPUT" "NOLOG_INPUT" "LOG_OUTPUT" "NOLOG_OUTPUT" ]);
|
||||
type = with types; listOf (enum [ "NOPASSWD" "PASSWD" "NOEXEC" "EXEC" "SETENV" "NOSETENV" "LOG_INPUT" "NOLOG_INPUT" "LOG_OUTPUT" "NOLOG_OUTPUT" "MAIL" "NOMAIL" "FOLLOW" "NOFLLOW" "INTERCEPT" "NOINTERCEPT"]);
|
||||
description = mdDoc ''
|
||||
Options for running the command. Refer to the [sudo manual](https://www.sudo.ws/man/1.7.10/sudoers.man.html).
|
||||
Options for running the command. Refer to the [sudo manual](https://www.sudo.ws/docs/man/1.9.15/sudoers.man/#Tag_Spec).
|
||||
'';
|
||||
default = [];
|
||||
};
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sudo";
|
||||
# be sure to check if nixos/modules/security/sudo.nix needs updating when bumping
|
||||
# e.g. links to man pages, value constraints etc.
|
||||
version = "1.9.15p5";
|
||||
|
||||
src = fetchurl {
|
||||
|
|
Loading…
Reference in a new issue