https://github.com/farcaller/gonix
Go bindings to nix API
https://github.com/farcaller/gonix
go nix
Last synced: about 1 year ago
JSON representation
Go bindings to nix API
- Host: GitHub
- URL: https://github.com/farcaller/gonix
- Owner: farcaller
- License: apache-2.0
- Created: 2023-09-10T11:17:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-02T19:18:38.000Z (over 1 year ago)
- Last Synced: 2025-04-02T02:46:29.187Z (over 1 year ago)
- Topics: go, nix
- Language: Go
- Homepage: https://pkg.go.dev/github.com/farcaller/gonix
- Size: 50.8 KB
- Stars: 30
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go bindings to nix API
[](https://goreportcard.com/report/github.com/farcaller/gonix)
[](https://godoc.org/github.com/farcaller/gonix)
## Building
These bindings depend on the Nix C API, which is currently only available in nix
master. It's a moving target, and while we try to catch up, sometimes the API is
broken so you must pull nix from the **same revision** that's tracked in this
flake's `nix`, and make both `nix.dev` and `pkg-config` available in your
`buildInputs` for the CGO bindings to work. Consult the `flake.nix` for an
example.
## API Docs
See [godoc](https://godoc.org/github.com/farcaller/gonix) for API and examples.