mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-27 19:46:40 +03:00
nixos/ananicy: fix eval when hardened kernel is used with ananicy-cpp
This commit is contained in:
parent
ae5d6bcc8e
commit
a86b5873b6
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ let
|
||||||
# Ananicy-CPP with BPF is not supported on hardened kernels https://github.com/NixOS/nixpkgs/issues/327382
|
# Ananicy-CPP with BPF is not supported on hardened kernels https://github.com/NixOS/nixpkgs/issues/327382
|
||||||
finalPackage =
|
finalPackage =
|
||||||
if (servicename == "ananicy-cpp" && config.boot.kernelPackages.isHardened) then
|
if (servicename == "ananicy-cpp" && config.boot.kernelPackages.isHardened) then
|
||||||
(cfg.package { withBpf = false; })
|
(cfg.package.override { withBpf = false; })
|
||||||
else
|
else
|
||||||
cfg.package;
|
cfg.package;
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue