Get the latest tech news

Angle brackets in a Nix flake world


At DEFCON33, the Nix community had its first-ever presence via nix.vegas and I ended up in fun conversation with tomberek 🙌.

As a very worthwhile aside, the first time presence of the Nix community at DEFCON was fantastic and I am extra appreciative to numinit and RossComputerguy 🙇. With the eventual planned removal of support for NIX_PATH, we are now presented with an opportunity of some new functionality in Nix, namely the angled brackets<something> that can be reconstituted for a new purpose. We write a function of__findFile that trivially splits the contents within the angle bracket to access the attrset of the flake as returned by builtins.getFlake (toString ./.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of nix

nix

Photo of angle brackets

angle brackets

Photo of Nix flake world

Nix flake world

Related news:

News photo

Journaling using Nix, Vim and coreutils

News photo

Why We're Moving on from Nix

News photo

Changelog: Lazy trees (faster Nix builds)