1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

comby: nixpkgs-fmt

This commit is contained in:
happysalada 2021-09-25 18:04:30 +09:00
parent c92f96b079
commit 2fb9f65c0a

View file

@ -1,5 +1,15 @@
{ ocamlPackages, fetchFromGitHub, lib, zlib, pkg-config, cacert, gmp, libev { ocamlPackages
, autoconf, sqlite, stdenv }: , fetchFromGitHub
, lib
, zlib
, pkg-config
, cacert
, gmp
, libev
, autoconf
, sqlite
, stdenv
}:
let let
mkCombyPackage = { pname, extraBuildInputs ? [ ], extraNativeInputs ? [ ] }: mkCombyPackage = { pname, extraBuildInputs ? [ ], extraNativeInputs ? [ ] }:
ocamlPackages.buildDunePackage rec { ocamlPackages.buildDunePackage rec {
@ -41,7 +51,8 @@ let
}; };
combyKernel = mkCombyPackage { pname = "comby-kernel"; }; combyKernel = mkCombyPackage { pname = "comby-kernel"; };
in mkCombyPackage { in
mkCombyPackage {
pname = "comby"; pname = "comby";
extraBuildInputs = [ extraBuildInputs = [
@ -62,6 +73,7 @@ in mkCombyPackage {
ocamlPackages.lwt_react ocamlPackages.lwt_react
ocamlPackages.tls ocamlPackages.tls
combyKernel combyKernel
combySemantic
] ++ (if !stdenv.isAarch32 && !stdenv.isAarch64 then ] ++ (if !stdenv.isAarch32 && !stdenv.isAarch64 then
[ ocamlPackages.hack_parallel ] [ ocamlPackages.hack_parallel ]
else else