Commit Graph

14 Commits

Author SHA1 Message Date
Yohann Boniface
a96a7b9dc6 treewide: use finalAttrs.finalPackage.doCheck (#543265) 2026-07-23 11:35:08 +00:00
Peder Bergebakken Sundt
a0d022d0f4 treewide: use finalAttrs.finalPackage.doCheck 2026-07-18 18:23:21 +02:00
nixpkgs-ci[bot]
4c3441695b Merge master into staging-next 2026-07-14 15:35:50 +00:00
Grimmauld
9b66f27082 apparmor-parser: remove rc.apparmor.functions references 2026-07-14 12:51:15 +02:00
Grimmauld
eb8d97ca2d libapparmor: 5.0.0 -> 5.0.1 2026-07-07 21:44:48 +02:00
Grimmauld
41a37cc083 apparmor-parser: pick upstream patch for yacc format-security issues 2026-06-04 22:09:39 +02:00
Grimmauld
3396168409 apparmor-parser: fix for apparmor 5.0 2026-06-03 23:41:50 +02:00
Colin
16dddda555 apparmor-parser: enable strictDeps
bash, perl and python are all shebangs used by the test scripts
hence they're moved to `nativeCheckInputs` so that they can be on PATH.

runtimeShellPackage is added to `buildInputs` to fix the shebang
in $out/lib/apparmor/rc.apparmor.function. prior to this, its `#!/bin/sh`
shebang was being patched via the bash from `checkInputs`. that's flimsy
as it relies on `doCheck == true` (which is false e.g. when cross
compiling). instead, provide a shell in `buildInputs` to ensure patching
of `#!/bin/sh` in runtime scripts.
2026-01-17 11:21:43 +00:00
nixpkgs-ci[bot]
5c46a967a6 Merge staging-next into staging 2025-09-16 00:16:31 +00:00
ssoss
a3b4c88a03 apparmor-parser: use full path for aa-status
Replaces the dynamic lookup of the aa-status path with the full Nix
derivation path. This change also fixes issues with the use of which
causing POSIX shell incompatibilities.
2025-09-15 13:32:08 -05:00
Grimmauld
6a0d02a121 apparmor-parser: reenable previously skipped tests on musl 2025-09-13 11:49:28 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Grimmauld
74cd665d8f apparmor-parser: enable most tests on musl 2025-06-10 20:14:40 +02:00
Grimmauld
eba90bba66 apparmor: 4.0.3 -> 4.1.0, rewrite
Upstream release: https://gitlab.com/apparmor/apparmor/-/releases/v4.1.0

Notable changes made to the packaging:
- apparmor-kernel-patches: drop. This was outdated and unused, and wouldn't even apply to any kernel anymore.
- aa-teardown: migrate to writeShellAPplication
- apparmor-*: migrate to by-name
- apparmor-*: enable checks and actually run checks
- libapparmor: test python module imports correctly
- libapparmor: no seperate $python output (makes no sense)
2025-04-22 23:48:08 +02:00