nicoo
7b5b3f5124
nixos/sudo: Add tests for sudo-rs too
...
Duplicated sudo's testsuite for now, as its maintainer does not with
to collaborate on testing effors; see #253876 .
Environment-related tests were removed, as sudo-rs does not support
`(NO)SETENV` yet; see memorysafety/sudo-rs#760
2023-09-18 18:03:58 +00:00
Maciej Krüger and nicoo
4729358fa5
nixos/test-driver: do not break if the command writes to stderr
...
Capturing `stderr` as part of the return `output` could break existing tests.
2023-09-18 17:36:16 +00:00
nicoo
f66eb0df3b
nixos/sudo: Only wrap sudoedit when using Miller's sudo
2023-09-18 17:36:15 +00:00
nicoo
914bf58369
nixos/{sudo, terminfo}: Adjust defaults for compatibility with sudo-rs
2023-09-18 17:36:15 +00:00
nicoo
f0107b4f63
nixos/sudo: Check syntax using the configured package
...
This is preferable even for regular `sudo`, but will ensure the check is useful
when using `sudo-rs` in the future.
Also, dropped antediluvian comment about the syntax check being disabled,
when it was clearly not commented out:
- introduced in 2007, commit 6d65f0ae03ae14f3e978d89959253d9a8f5e0ec1;
- reverted in 2014, commit e68a5b265a ,
but without ammending the comments.
2023-09-18 17:36:15 +00:00
nicoo
c11da39117
nixos/sudo: Drop the sudoers comment for extraRules
...
All rules are now handled through `extraRules`,
and it is never empty so `optionalString` isn't needed either.
2023-09-18 17:36:15 +00:00
nicoo
717e51a140
nixos/sudo: Make the default rules' options configurable
2023-09-18 17:36:15 +00:00
nicoo
b1eab8ca53
nixos/sudo: Handle root's default rule through extraRules
...
This makes things more uniform, and simplifies compatibility with sudo-rs.
Moreover, users can not inject rules before this if they need to.
2023-09-18 17:35:45 +00:00
nicoo
3a95964fd5
nixos/sudo: Drop useless lib. qualifiers
...
Also normalise indentation for `mdDoc` to what's prevalent in this file.
2023-09-18 17:35:07 +00:00
nicoo
8b9e867ac8
nixos/sudo: Refactor checks for Todd C. Miller's implemetation
2023-09-18 17:35:07 +00:00
nicoo
f5aadb56be
nixos/sudo: Refactor option definitions
2023-09-18 17:35:06 +00:00
nicoo
0365b05f13
nixos/terminfo: Add config option not to add extra sudo config
...
This will be necessary for compatibility with `sudo-rs`.
2023-09-18 17:35:06 +00:00
nicoo
8742134c80
nixos/sudo: Only keep SSH_AUTH_SOCK if used for authentication
...
This will make compatibility with `sudo-rs` easier.
2023-09-18 17:35:06 +00:00
nicoo
454151375d
nixos/sudo: Don't include empty sections
...
This makes the generated sudoers a touch easier to read.
2023-09-18 17:35:06 +00:00
nicoo
409d29ca73
nixos/sudo: Split up configFile into individual sections
2023-09-18 17:35:06 +00:00
maxine and GitHub
74b1db5164
Merge pull request #253255 from R-VdP/fwupd_1_9_5
2023-09-16 17:48:55 +02:00
Weijia Wang and GitHub
6fb1efb2d7
Merge pull request #255480 from chvp/fix/xrdp-src-hash
...
xrdp: restore 0.9.23 src hash
2023-09-16 17:26:08 +02:00
Fabian Affolter and GitHub
7c2ddffb61
Merge pull request #255455 from r-ryantm/auto-update/python310Packages.jsonpath-ng
...
python310Packages.jsonpath-ng: 1.5.3 -> 1.6.0
2023-09-16 17:13:31 +02:00
Weijia Wang and GitHub
624c20171e
Merge pull request #255437 from erdnaxe/libdatachannel-update
...
libdatachannel: 0.18.5 -> 0.19.1
2023-09-16 16:30:40 +02:00
Mario Rodas and GitHub
400df271fc
Merge pull request #255405 from r-ryantm/auto-update/refinery-cli
...
refinery-cli: 0.8.10 -> 0.8.11
2023-09-16 09:28:56 -05:00
Mario Rodas and GitHub
f7699497f6
Merge pull request #255296 from marsam/update-ruby_3_3
...
ruby_3_3: preview1 -> preview2
2023-09-16 09:28:40 -05:00
Weijia Wang and GitHub
88e25a7a74
Merge pull request #255279 from r-ryantm/auto-update/argocd
...
argocd: 2.8.3 -> 2.8.4
2023-09-16 16:27:15 +02:00
figsoda and GitHub
6274746258
Merge pull request #255308 from figsoda/biome
...
biome: 1.1.2 -> 1.2.1
2023-09-16 10:15:19 -04:00
figsoda and GitHub
ee57de6b16
Merge pull request #254618 from figsoda/oranda
...
oranda: 0.3.1 -> 0.4.0
2023-09-16 10:14:45 -04:00
figsoda and GitHub
7ae36677b2
Merge pull request #254603 from figsoda/dool
...
dool: 1.2.0 -> 1.3.0
2023-09-16 10:14:32 -04:00
piegames and GitHub
70c8a33a24
Merge pull request #255450 : npins: 0.2.0 -> 0.2.2
2023-09-16 16:01:51 +02:00
Charlotte Van Petegem
3c00191aab
xrdp: restore 0.9.23 src hash
...
The 0.9.22.1 hash was reintroduced by accident after a bad rebase in
https://github.com/NixOS/nixpkgs/pull/250189/ . This restores the correct hash
for 0.9.23.
2023-09-16 15:59:21 +02:00
Nick Cao and GitHub
3ee07e9bce
Merge pull request #255389 from r-ryantm/auto-update/rain
...
rain: 1.4.4 -> 1.5.0
2023-09-16 09:46:42 -04:00
Nick Cao and GitHub
bba7abb609
Merge pull request #255397 from r-ryantm/auto-update/libtommath
...
libtommath: 1.2.0 -> 1.2.1
2023-09-16 09:45:59 -04:00
Nick Cao and GitHub
1b28254477
Merge pull request #255401 from r-ryantm/auto-update/qpwgraph
...
qpwgraph: 0.5.2 -> 0.5.3
2023-09-16 09:45:35 -04:00
Nick Cao and GitHub
1f99ec5c3c
Merge pull request #255408 from r-ryantm/auto-update/srsran
...
srsran: 23.04 -> 23.04.1
2023-09-16 09:44:19 -04:00
Nick Cao and GitHub
12470ca5a9
Merge pull request #255457 from markuskowa/upd-qradiolink
...
qradiolink: 0.8.10-1 -> 0.8.11-1
2023-09-16 09:42:04 -04:00
Nick Cao and GitHub
bbf8397cc0
Merge pull request #255350 from mibmo/pkg/monero-cli/mainProgram
...
monero-cli: set main program
2023-09-16 09:39:31 -04:00
Nick Cao and GitHub
a4967a4876
Merge pull request #255348 from r-ryantm/auto-update/aspectj
...
aspectj: 1.9.20 -> 1.9.20.1
2023-09-16 09:39:19 -04:00
Mario Rodas and GitHub
4aac09704f
Merge pull request #255318 from fabaff/azure-mgmt-maps-bump
...
python311Packages.azure-mgmt-maps: 2.0.0 -> 2.1.0
2023-09-16 08:29:01 -05:00
Mario Rodas and GitHub
4587bc7849
Merge pull request #255349 from adtya/flyctl/0.1.92
...
flyctl: 0.1.90 -> 0.1.92
2023-09-16 08:27:47 -05:00
Mario Rodas and GitHub
07ce583cdd
Merge pull request #255400 from r-ryantm/auto-update/python311Packages.types-mock
...
python311Packages.types-mock: 5.1.0.1 -> 5.1.0.2
2023-09-16 08:26:10 -05:00
Anderson Torres
74489d7ff6
algol68g: 2.8.4 -> 3.3.22
2023-09-16 13:22:03 +00:00
Anderson Torres
057496d1b2
algol68g: refactor
...
- finalAttrs
- add withPDFDoc option
- split output
2023-09-16 13:22:03 +00:00
Anderson Torres
39c2bcdf1a
algol68g: migrate to by-name
2023-09-16 13:22:03 +00:00
Mario Rodas and GitHub
81a28e76f1
Merge pull request #255460 from fabaff/checkov-bump
...
checkov: 2.4.33 -> 2.4.39
2023-09-16 08:17:40 -05:00
Mario Rodas and GitHub
f1a88c096f
Merge pull request #255445 from r-ryantm/auto-update/jackett
...
jackett: 0.21.747 -> 0.21.798
2023-09-16 07:55:44 -05:00
Mario Rodas and GitHub
187a3626df
Merge pull request #255441 from matthiasbeyer/update-zellij
...
zellij: 0.38.1 -> 0.38.2
2023-09-16 07:49:42 -05:00
Mario Rodas and GitHub
00207520f9
Merge pull request #255313 from kilianar/mpsolve-init
...
mpsolve: init at 3.2.1
2023-09-16 07:48:28 -05:00
Nick Cao and GitHub
990398921f
Merge pull request #253564 from renesat/submit/calibre-web
...
calibre-web: fix static environ method in tornado
2023-09-16 08:41:37 -04:00
Nikolay Korotkiy and GitHub
cf72689575
Merge pull request #255439 from ncfavier/miniflux
...
miniflux: 2.0.46 -> 2.0.48
2023-09-16 16:31:03 +04:00
Emily and GitHub
4909c2de6c
Merge pull request #255459 from bobvanderlinden/pr-hello-mainprogram
...
hello: add meta.mainProgram
2023-09-16 14:12:22 +02:00
Fabian Affolter and GitHub
93dd304d02
python310Packages.jsonpath-ng: adjust inputs
2023-09-16 13:56:05 +02:00
Fabian Affolter and GitHub
47fc70dde9
Merge pull request #255429 from fabaff/qovery-cli-bump
...
qovery-cli: 0.69.1 -> 0.70.0
2023-09-16 13:34:17 +02:00
Fabian Affolter and GitHub
001b10c2ff
Merge pull request #255428 from fabaff/trufflehog-bump
...
trufflehog: 3.56.0 -> 3.56.1
2023-09-16 13:33:56 +02:00