Unverified Commit 2bedc788 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

nixos/ananicy: fix eval when hardened kernel is used with ananicy-cpp (#361172)

parents f49f947e a86b5873
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ let
  # Ananicy-CPP with BPF is not supported on hardened kernels https://github.com/NixOS/nixpkgs/issues/327382
  finalPackage =
    if (servicename == "ananicy-cpp" && config.boot.kernelPackages.isHardened) then
      (cfg.package { withBpf = false; })
      (cfg.package.override { withBpf = false; })
    else
      cfg.package;
in