profetch: add preBuild hook

Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com>
This commit is contained in:
veleth 2021-08-13 17:51:06 +03:00 committed by GitHub
parent 8b8a629b22
commit e67b99da60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gprolog ];
buildPhase = ''
runHook preBuild
gplc profetch.pl --no-top-level --no-debugger \
--no-fd-lib --no-fd-lib-warn \
--min-size -o profetch