profetch: add preBuild hook
Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com>
This commit is contained in:
parent
8b8a629b22
commit
e67b99da60
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ gprolog ];
|
buildInputs = [ gprolog ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
gplc profetch.pl --no-top-level --no-debugger \
|
gplc profetch.pl --no-top-level --no-debugger \
|
||||||
--no-fd-lib --no-fd-lib-warn \
|
--no-fd-lib --no-fd-lib-warn \
|
||||||
--min-size -o profetch
|
--min-size -o profetch
|
||||||
|
|
Loading…
Reference in a new issue