nix-pills
nix-pills copied to clipboard
Trying out Nix Pill Nr. 10 Part 1: It says: `source builder.sh` But this fails with : > bash: ./configure: No such file or directory thus i added some debug...
I found [this line](https://github.com/NixOS/nix-pills/blob/5e8e2fb3cd49446d3457abfa99758bad6d46d3f2/pills/06-our-first-derivation.xml#L52) confusing in pill 6: > name: the name of the derivation. In the nix store the format is hash-name, that's the name. It's a little hard...
The pill says ``` $ nix-shell hello.nix [nix-shell]$ make bash: make: command not found ``` yet in my case ``` [nix-shell:~/projects/pills/hello]$ make make: *** No targets specified and no makefile...
I just finished reading all 20 pills and love them, great work! :heart: It would be wonderful to have something like these for NixOS.
Here's the error I get: ``` $ nix-build graphviz.nix ... make[4]: Leaving directory '/run/user/1000/nix-build-graphviz.drv-0/graphviz-2.38.0/lib/sfio' make[3]: Leaving directory '/run/user/1000/nix-build-graphviz.drv-0/graphviz-2.38.0/lib/sfio' Making all in vmalloc make[3]: Entering directory '/run/user/1000/nix-build-graphviz.drv-0/graphviz-2.38.0/lib/vmalloc' mkdir -p ../../FEATURE ../../iffe...
[7.7. Enough of nix-repl](https://nixos.org/nixos/nix-pills/working-derivation.html#idm140737316179104) Fails to build in OSX. Solution, inspired on #35: ```nix with (import {}); let gcc = stdenv.cc; in derivation { name = "simple"; builder = "${bash}/bin/bash";...
Used "note" formatting for the notes I added, to be consistent with the rest of the document.
[8.1. Packaging GNU hello world](https://nixos.org/nixos/nix-pills/generic-builders.html#idm140737316150720) I've seen mentioned before that gcc doesn't work on Darwin... Still, it is a reasonable ask that Nix Pills should allow people to get acquainted...
Some of the “screenshots” in nix-pills, such as [this bit about `show-derivation`](https://nixos.org/nixos/nix-pills/our-first-derivation.html#idm140737316339744), use the `` docbook tag. This tag is rendered as `` in the HTML version. The NixOS [site...