Categorygithub.com/orivej/go-nix
module
0.0.0-20180830055821-dae45d921a44
Repository: https://github.com/orivej/go-nix.git
Documentation: pkg.go.dev

# README

Build Status

Overview

This repository contains:

  • nix/parser - a Nix parser. Optimized for speed, it parses all Nixpkgs in 2 seconds. It preserves comments and source positions and can be used to implement Nix files formatting.
  • nix/nixhash - Nix-compatible hasher for store paths.
  • nix/eval - an incomplete Nix evaluator. It can't evaluate realistic Nix files, but it's a start.
  • cmd/gon - an utility that exposes these libraries from the command line.

Development

How to build

$ nix-build

Build cmd/gon

$ result-bin/bin/gon help

Get a development environment

$ nix-shell
$ go build ./...

Run tests

$ go test ./...

Credits

# Packages

No description provided by the author
No description provided by the author