that command requests a flake

Reply to this note

Please Login to reply.

Discussion

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)

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

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

I don't think so, despite being experimental, flakes are widely used by the community.