depot/nix/pkgs/eapol-test.nix

22 lines
424 B
Nix
Raw Normal View History

2021-09-25 12:55:06 +00:00
{ wpa_supplicant }:
wpa_supplicant.overrideAttrs (old: {
pname = "${old.pname}-eapol_test";
enableParallelBuilding = true;
buildFlags = [ "eapol_test" "preauth_test" ];
preInstall = ":";
postInstall = ":";
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -Dm755 eapol_test $out/bin/eapol_test
install -Dm755 preauth_test $out/bin/preauth_test
runHook postInstall
'';
})