1
0

add eapol_test to radius

This commit is contained in:
Ember 'n0emis' Keske
2022-07-25 15:29:16 +02:00
parent dce2d5483d
commit 1e5722812d
2 changed files with 19 additions and 0 deletions

View File

@@ -17,4 +17,20 @@ self: super: {
t38modem = self.callPackage ./t38modem.nix { };
ptlib = self.callPackage ./ptlib.nix { };
opal = self.callPackage ./opal.nix { };
eapol_test = super.wpa_supplicant.overrideAttrs (old: rec {
name = "eapol_test-${old.version}";
buildPhase = ''
runHook preBuild
echo CONFIG_EAPOL_TEST=y >> .config
make eapol_test
runHook postBuild
'';
installPhase = ''
install -D eapol_test $out/bin/eapol_test
'';
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
});
}