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
co-authored by Christoph Neidahl
parent 8b8a629b22
commit e67b99da60
+1
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