| 17 Oct 2021 |
balsoft | In reply to @roosemberth:orbstheorem.ch IMHO, I don't think we need an entry for all of the binaries, just the 'main' binary of the package (where it makes sense). For instance, if I want to "run" package redshift-wlr, I would like it to run the redshift binary inside, if I wanted to access to any of the other binaries, I'd enter a shell. That's still a lot of app entries | 07:53:32 |
Roos | Yes, but I don't think that's a flakes problem, I think that's a nixpkgs problem. | 07:53:59 |
colemickens π³οΈβπ | Doesn't nix shell pull the pkgs deps in too though? | 08:44:26 |
colemickens π³οΈβπ | isn't that like the whole issue | 08:44:40 |
colemickens π³οΈβπ | * isn't that like the whole issue - why people try to use run and then wind up resorting to nix shell -c... | 08:45:08 |
Dee | There's already meta.mainProgram that you can use in Nixpkgs, and Nix actually checks that | 09:10:21 |
tomberek | The new βnix shellβ does not pull in build deps. | 15:43:19 |
figsoda | From my understanding, nix-shell becomes nix develop, nix-shell -p becomes nix shell, and nix run a special case for nix shell -c | 17:30:50 |
figsoda | * From my understanding, nix-shell becomes nix develop, nix-shell -p becomes nix shell, and nix run is a special case for nix shell -c | 17:32:03 |
| mars joined the room. | 19:02:55 |
tomberek | figsoda: roughly yes, but there are lots of edge cases and slight differences. Getting that design right and making decisions have been difficult. | 20:23:48 |
colemickens π³οΈβπ | David Arnold (blaggacao): did you figure out a way to expose/use multiple devShells from a flake? | 23:48:34 |
colemickens π³οΈβπ | I guess this works: nix develop .#devShell2.x86_64-linux | 23:49:38 |
colemickens π³οΈβπ | kind of annoying that it doesn't get autocoerced from .#devShell2 in that scenario thoug | 23:49:50 |
David Arnold (blaggacao) | I think there now is self.devShells so I guess, nix develop python should do self.devShells....python | 23:50:05 |
David Arnold (blaggacao) | Not tested, just a bookmark in my head. | 23:50:55 |
colemickens π³οΈβπ | okay, I'll add a note to try that | 23:51:19 |
David Arnold (blaggacao) | Tell me if it works π | 23:51:19 |
| 18 Oct 2021 |
colemickens π³οΈβπ | David Arnold (blaggacao): aight, it's outputs.devShell + outputs.devShells.foo | 00:15:17 |
colemickens π³οΈβπ | I think it ought to be outputs.devShells.{default,foo,bar...} but whatever | 00:15:43 |
colemickens π³οΈβπ | this is more than fine | 00:15:47 |
colemickens π³οΈβπ | David Arnold (blaggacao): nix develop github:colemickens/nixcfg#devenv => https://github.com/cole-mickens/nixcfg/blob/ac2b89e9715c1daa730fda9308e0ed1abe941392/flake.nix#L118 | 00:16:41 |
David Arnold (blaggacao) | Nice! | 00:37:26 |
TyberiusPrime | perhaps a stupid question, but how would I interactivly install a flake? like "nix-env -i .." | 08:32:15 |
moritz.hedtke | In reply to @tyberius_prime:matrix.org perhaps a stupid question, but how would I interactivly install a flake? like "nix-env -i .." Maybe https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-profile-install.html#synopsis but I assume most people use a flake.nix with nix develop or home-manager depending on the use case | 09:58:20 |
moritz.hedtke | If you don't want to install but just use nix shell afaik | 09:58:49 |
| meccine joined the room. | 17:34:30 |
| 19 Oct 2021 |
| cir0x joined the room. | 11:25:07 |
| 20 Oct 2021 |
| lourkeur (Nix OwO) set a profile picture. | 09:11:15 |
| lourkeur (Nix OwO) changed their display name from Louis Bettens to lourkeur (Nix OwO). | 11:19:29 |