Nix - Flakes for out-of-tree code

preview_player
Показать описание
Describe how to use flakes in your own repository.

Go over the motivation, creation, and usage of a flake.
Рекомендации по теме
Комментарии
Автор

New Nixer here and your videos are an INVALUABLE resource for learning and understanding this ecosystem. Thank you!

BradleyADavis
Автор

Flakes are fantastic. It definitely lowered the learning curve of Nix by a smidge.

SEKUNHO
Автор

Thank you so much for your guide, Jon! I was finally able to set up flakes on my Python project. I had to check your repo to understand a little more of the composition of the files you have at the nix directory.

Something that I would think it would be great is having a similar guide like this, about migrating your project with the basic shell.nix and default.nix structure into flakes, but written in a blog/website, just to have it as a reference.

Aktnik
Автор

Nice explanation!
If you're using zsh, you can put in your config something like: `zstyle ignored-patterns '*.lock'`
To avoid having the `flake.lock` completion, and typing `vim flaTAB` gives your the flake.nix file directly :)

bew
Автор

Thank you for another great video. Very practical and useful.

raghurammailbox
Автор

Great video thanks. You might want to zoom in a bit. Watching on mobile is hard to follow.

e
Автор

POV: you're jonringer browsing Discourse

Can't wait to have this in stable, my server configs already kinda depend on it and it's making me a little uneasy

Nessdoor