Commit 3bd9ca0e authored by Haylin Moore's avatar Haylin Moore
Browse files

ynetd: add pow-solver to hardened

parent f4e4e4ed
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  lib,
  openssl,
  stdenv,
  fetchurl,
}:
@@ -12,9 +13,17 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-hUEZZEulmaV3KfKOqE1wl7y4SRUn2/HoOjVDabk5+YA=";
  };

  buildInputs = [ openssl ];

  makeFlags = [
    "ynetd"
    "pow-solver"
  ];

  installPhase = ''
    runHook preInstall
    install -Dm755 ynetd $out/bin/ynetd
    install -Dm755 pow-solver $out/bin/pow-solver
    runHook postInstall
  '';