oq: fix build

wip/yesman
Stig Palmquist 4 years ago
parent a6ac6d00f9
commit 6dbe177f29
No known key found for this signature in database
GPG Key ID: 10C838A306094775
  1. 6
      pkgs/development/tools/oq/default.nix

@ -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…
Cancel
Save