MOZI-AI / annotation-scheme

Human Gene annotation service backend
GNU General Public License v3.0
3 stars 4 forks source link

Add Guix environment file #100

Closed rekado closed 4 years ago

rekado commented 4 years ago

This patch adds a Guix environment file. Getting a suitable reproducible environment to hack on annotation-scheme is now as easy as running

guix environment -l guix.scm

This will build (or download) all dependencies, including the forked Guile JSON library. This will work with Guix commit 537d08271ec1f8c7ae587d3e107057cfa4d15630 (from a couple of hours ago), which is the first commit to include all Opencog dependencies.

(Within this environment I have confirmed that make check does indeed pass.)

Habush commented 4 years ago

Is there a way to setup guix on Mac OS so I can test this PR locally?

rekado commented 4 years ago

Unfortunately, Guix is not available on macos (because there is no free native toolchain for the bootstrap).

Habush commented 4 years ago

@tanksha Can you test this in your locally?

tanksha commented 4 years ago

@rekado am getting the following error

no code for module (gnu packages opencog)

Where this module come from?

rekado commented 4 years ago

@tanksha This module was only recently added to Guix (after the latest release). This means that you aren't using the latest version of Guix. Run guix pull to get the latest version.

rekado commented 4 years ago

What do you think about merging this?