Trying notedeck... one minute in, already loving it! Thanks @jb55! Thinking about contributing to it by adding a flake. Would be nice to be able to cleanly install it in my Nix home-manager. Is there a reason why I can find none as we speak?

Replies (16)

What if I make a pull request with a flake... would you accept it? It might also intall all the rust toolchain just by typing "nix develop".
jb55's avatar
jb55 _@jb55.com 4 months ago
Or ideally direnv to enable the shell when you cd into the project
> nix shell path '/Users/dude/work/github/damus-io/notedeck' does not contain a 'flake.nix', searching up error: path '/Users/dude/work/github/damus-io/notedeck' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
I think they help with decentralization, which as a bitcoiner I tend to go towards... I use them all the time to package stuff so I don't have to wait for nixpkgs to do it for me. Anyway, seems like I depend on a flake to execute the shell.nix but you don't. That's the point.
Nevermind, I have tried again and now it works... that's weird... maybe I was in a shell that's in a shell within another shell that caused that flake dependency.
jb55's avatar
jb55 _@jb55.com 4 months ago
btw i deliberately choose to not use rust from nixpkgs. i use rustup for latest rust binaries