oq: fix build
This commit is contained in:
parent
a6ac6d00f9
commit
6dbe177f29
@ -14,8 +14,14 @@ crystal.buildCrystalPackage rec {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ jq libxml2 ];
|
||||
|
||||
format = "crystal";
|
||||
crystalBinaries.oq.src = "src/oq_cli.cr";
|
||||
|
||||
preCheck = ''
|
||||
mkdir bin
|
||||
cp oq bin/oq
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/oq" \
|
||||
--prefix PATH : "${lib.makeBinPath [ jq ]}"
|
||||
|
Loading…
Reference in New Issue
Block a user