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?
Login to reply
Replies (16)
I’ve never been a flake guy, but i can package it for nixos since im a nixpkgs maintainer
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...
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
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.
btw i deliberately choose to not use rust from nixpkgs. i use rustup for latest rust binaries
I don't think so, despite being experimental, flakes are widely used by the community.