I’ve never been a flake guy, but i can package it for nixos since im a nixpkgs maintainer
Trying notedeck... one minute in, already loving it! Thanks nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s!
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?
Discussion
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".
just type nix shell
Or ideally direnv to enable the shell when you cd into the project
that command requests a flake
wat
> 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)
oh, maybe that's because I am setup with flakes and I guess you're not...
maybe this issue?
flakes are a shitcoin. I have never once used them or needed to use them
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.
thats a bizarre setup, flakes are optional. you shouldn't gimp your setup with them. the original mechanism is mkShell, which many projects use
https://nixos.wiki/wiki/Development_environment_with_nix-shell
I don't think so, despite being experimental, flakes are widely used by the community.