DN3X6ZT3YVEGTHYDCDB7U6GNH5YVP37GMPZLUHT64OUWITHLHEKAC
Nice, I didn’t know about flakes :3
Here is an intro I am reading as a reference: https://www.tweag.io/blog/2020-07-31-nixos-flakes/
I made a few changes on top of this change, to:
cargo2nix
, which among other things, allows us to add dependencies directly to crates we depend on instead of to the top-level pijul
crate.flake-utils
to remove boilerplatedevShell
so that nix develop
can be used to start a development shell in which we can use cargo
as usual. It also includes rustfmt
as an example of a useful development tool, and cargo2nix
to allow regenerating Cargo.nix
.These aren’t fully cleaned up and haven’t been tested on darwin, but I figured I’d share them.
HNXQOO7YHQPVCYDBSHFUZTSMF3P3YQ7SCX2CUFVF55GHEMMSIHPQC
XTS3Q2G2SOTON7TGW37QBPSPEKK2YG6TFGYVEBIQJV4R5MGLOUYQC
@jwaksbaum A few things:
devShell
in the original flake.nix ;)Considering flake support has landed in main, I’m going to close this issue. Please open another one for your crate2nix change!
Some systems that use flakes don’t have a NIX_PATH (or nixpkgs in the NIX_PATH).