3
0
Fork 0
forked from mirrors/nixpkgs

Fix fallout from 4f27ad14

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-05-18 07:38:13 -05:00
parent bc792bda14
commit 67c309fe75

View file

@ -3,10 +3,11 @@
with lib; with lib;
let let
cfg = config.security.grsecurity;
customGrsecPkg = customGrsecPkg =
(import ../../../pkgs/build-support/grsecurity (import ../../../pkgs/build-support/grsecurity
{ grsecOptions = config.security.grsecurity; { grsecOptions = cfg; }
};
).grsecPackage; ).grsecPackage;
in in
{ {
@ -317,7 +318,7 @@ in
# Enable AppArmor, gradm udev rules, and utilities # Enable AppArmor, gradm udev rules, and utilities
security.apparmor.enable = true; security.apparmor.enable = true;
boot.kernelPackages = grsecPackage; boot.kernelPackages = customGrsecPkg;
services.udev.packages = [ pkgs.gradm ]; services.udev.packages = [ pkgs.gradm ];
environment.systemPackages = [ pkgs.gradm pkgs.paxctl pkgs.pax-utils ]; environment.systemPackages = [ pkgs.gradm pkgs.paxctl pkgs.pax-utils ];
}; };