nix-book
rules_nixpkgs
nix-book | rules_nixpkgs | |
---|---|---|
5 | 5 | |
209 | 274 | |
- | 3.6% | |
0.6 | 9.2 | |
about 1 year ago | 4 days ago | |
Starlark | ||
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nix-book
-
A configuration management system for pets, not cattle
This seems more approachable than NixOS/Guix, which I see as state or the art for declarative hosts.
https://discourse.nixos.org/t/documentation-team-flattening-... aims to flatten the learning curve for NixOS.
-
Our Roadmap for Nix
We're onto the pedagogy thing. Check out the Nix book efforts: https://discourse.nixos.org/t/documentation-team-flattening-....
Regarding the language and "configurations" specifically, you might like what we do with Nickel: https://github.com/tweag/nickel. Research project showing a potential future for Nix.
-
Why the Windows Registry sucks technically (2010)
Wouldn't say there's a steep learning curve for the language itself, it's pretty easy to get a grasp around it imo. Here's a helpful page I used to quickly get familiar with the language: https://github.com/tazjin/nix-1p
What's rather messy about Nix is nixpkgs with its helper functions all over the place alongside pretty shallow / non-existent documentation (which is unrelated to the language). Thankfully they've started to work on that recently: https://discourse.nixos.org/t/documentation-team-flattening-...
-
Gui installer (Calamares) seems to be available in the unstable iso
yess https://github.com/NixOS/nix-book
-
How should nix be used?!
there are efforts to better document the whole ecosystem (https://github.com/NixOS/nix-book)
rules_nixpkgs
- Crafting container images without Dockerfiles
-
Our Roadmap for Nix
I have spent a little bit of time working on a prototype of a setup like this, and have needed to write a lot of (hacky) glue and BUILD files.
I take it you have departed quite a bit from https://github.com/tweag/rules_nixpkgs ? Are you generating BUILD.bazel files for nixpkgs, or are you doing that by hand?
-
nix-shell, but make it lovely
I'm a fan of Tweag's rules_nixpkgs for bazel: https://github.com/tweag/rules_nixpkgs
-
Bazel 5.0 LTS with the new external dependency subsystem "Bzlmod"
Check out rules_nixpkgs as another way to get hermetic python. It does require that you install Nix, but everything else is driven from the Bazel side. Works for us on Linux and macos.
-
We Went All in on Sqlc/Pgx for Postgres and Go
Cool, thanks for the link.
For what it's worth, we use rules_nixpkgs to source Postgres (for Linux and Darwin) as well as things such as C and Python toolchains, and it's been working really well. It does require that the machine have Nix installed, though, but that opens up access to Nix's wide array of prebuilt packages.
https://github.com/tweag/rules_nixpkgs
What are some alternatives?
nickel-nix - An experimental Nix toolkit to use nickel as a language for writing nix packages, shells and more. [Moved to: https://github.com/nickel-lang/organist]
bazel-skylib - Common useful functions and rules for Bazel
dirs-rs - a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
pike - Generate CRUD gRPC backends from single YAML description.
sqlfs - Sqlite FUSE filesystem with sqlcipher support
sqlc - Generate type-safe code from SQL
nix-doc - An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script
goyesql - Parse SQL files with multiple named queries and automatically prepare and scan them into structs.
libsqlfs - a library that implements a POSIX style filesystem on top of an SQLite database
sqlparser-rs - Extensible SQL Lexer and Parser for Rust
nixpkgs - Nix Packages collection & NixOS
SQLBoiler - Generate a Go ORM tailored to your database schema.