Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fogti/nix-builtin-utils

Nix standalone builtin utils
https://github.com/fogti/nix-builtin-utils

Last synced: 26 days ago
JSON representation

Nix standalone builtin utils

Awesome Lists containing this project

README

        

# nix-builtin-utils

## Why?

nix builtins which rely on regex parsing+matching are notoriously difficult
to get right, because most regex libraries differ in what syntax they accept,
if they support backreferences, etc.

So this library extracts the corresponding code from Nix' [`src/libexpr/primops.cc`](https://github.com/NixOS/nix/blob/master/src/libexpr/primops.cc)
and makes it available for usage by alternative Nix evaluator implementations.