| 6 Feb 2024 |
@fractivore:cyberia.club | In reply to @danielsidhion:nixos.dev Also on the technical bits: the "nix-shell entry subroutine" box should ideally be inside the "nix-shell" box Huge thanks. Would you be willing to elaborate more on the details of nix-shell as a process, and/or know where I can read more about it? I've had a tough time finding the source code! It's not really discoverable in the same way nixpkgs source is (it's not in nixpkgs....? right?) , and it's also not a very easy thing to search for, due to the huge amount of ambiguity (nix shell vs nix-shell vs Now open up a shell and install nix...). | 13:40:05 |
@fractivore:cyberia.club | I read the manual, but it's a manual - intended for usage rather than understanding. | 13:41:11 |
@qyriad:matrix.org | It's not in Nixpkgs, confusingly it's in NixOS/nix/src/nix-build/nix-build.cc https://github.com/NixOS/nix/blob/master/src/nix-build/nix-build.cc | 13:43:17 |
@fractivore:cyberia.club | In reply to @infinisil:matrix.org It's not done yet, but the [thunks tutorial](https://github.com/NixOS/nix.dev/pull/824) could really use diagrams. Haskell has an entire package for visualising thunks in practise even: https://dennis.felsing.org/ghc-vis/ This is a completely new concept to me (thunks) , so I'll need to do some reading first, but thanks for the direction. | 15:01:35 |