lol

untrunc-anthwlock: refactor build

Use buildPhase to make clear that we need two invocations of 'make' with
different targets.

Also set IS_RELEASE to 1 to ensure an optimized build is created instead
of a debug build (see Makefile).

+5 -3
+5 -3
pkgs/tools/video/untrunc-anthwlock/default.nix
··· 11 11 sha256 = "14i2lq68q990hnm2kkfamlsi67bcml85zl8yjsyxc5h8ncc2f3dp"; 12 12 }; 13 13 14 - 15 14 buildInputs = [ ffmpeg libui ]; 16 15 17 - postBuild = '' 18 - make untrunc-gui 16 + buildPhase = '' 17 + runHook preBuild 18 + make IS_RELEASE=1 untrunc 19 + make IS_RELEASE=1 untrunc-gui 20 + runHook postBuild 19 21 ''; 20 22 21 23 installPhase = ''