Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Binding into Nix #44

Open
CMCDragonkai opened this issue Nov 17, 2018 · 0 comments
Open

Binding into Nix #44

CMCDragonkai opened this issue Nov 17, 2018 · 0 comments
Assignees
Labels
development Something that needs to be developed

Comments

@CMCDragonkai
Copy link
Member

Since we want to investigate the usage of Nix within our Artifact expressions in order to translate such things into OCI containers eventually, we will need some way of interacting with the Nix system to run the build instructions and make use of Nix's dependency graph.

To do so, we need to have an understanding of the Nix language and understanding of Nix commands/libraries.

The first is being addressed by Architect work MatrixAI/Architect#14 and was previously discussed in #24

The second is being addressed in terms of binding into Nix. We are looking into the library libnix https://github.com/Profpatsch/libnix-haskell

It provides bindings into the Nix commands/ecosystem by first wrapping exec calls to the Nix CLI commands, and a long term goal of binding into the Nix C++ codebase (for a deeper integration).

@n-zhang-hp is currently working on integrating libnix atm (with some build issues: Profpatsch/libnix-haskell#1).

In the future, we will investigate the binding into the Nix C++ codebase:

@CMCDragonkai CMCDragonkai added the development Something that needs to be developed label Nov 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
development Something that needs to be developed
Development

No branches or pull requests

2 participants