flakes

last updated: Oct 20, 2023

To enable:

mkdir ~/.config/nix echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.conf

The blog article I'm reading has a link to the NixOS wiki page

I'm in a directory with a flake, and now:

$ nix flake show git+file:///Users/llimllib/somedir/main?ref=refs%2fheads%2fmain&rev=2245bf45a150fce882aa4070b6929b4992c2d0fc └───devShell β”œβ”€β”€β”€aarch64-darwin: development environment 'nix-shell' β”œβ”€β”€β”€aarch64-linux: development environment 'nix-shell' β”œβ”€β”€β”€i686-linux: development environment 'nix-shell' β”œβ”€β”€β”€x86_64-darwin: development environment 'nix-shell' └───x86_64-linux: development environment 'nix-shell'

I don't really understand what this is telling me? but ok

↑ up