Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-02 | Fix macOS sandbox build | Fabian Möller | |
2020-09-29 | Merge branch 'master' into access-tokens | Kevin Quick | |
2020-09-27 | doc/manual: update hacking docs (#4078) | Maximilian Bosch | |
* By default, build artifacts should be installed into `outputs/` rather than `inst/`[1]. * Add instructions on how to run unit-tests. [1] 733d2e9402807e54d503c3113e854bfddb3d44e0 | |||
2020-09-24 | Update document generation for empty json object values. | Kevin Quick | |
2020-09-18 | nix-prefetch-url: Add --executable flag | Bryan Richter | |
pkgs.fetchurl supports an executable argument, which is especially nice when downloading a large executable. This patch adds the same option to nix-prefetch-url. I have tested this to work on the simple case of prefetching a little executable: 1. nix-prefetch-url --executable https://my/little/script 2. Paste the hash into a pkgs.fetchurl-based package, script-pkg.nix 3. Delete the output from the store to avoid any misidentified artifacts 4. Realise the package script-pkg.nix 5. Run the executable I repeated the above while using --name, as well. I suspect --executable would have no meaningful effect if combined with --unpack, but I have not tried it. | |||
2020-09-16 | Fix doc generation | Eelco Dolstra | |
2020-09-16 | jq -> nix | Eelco Dolstra | |
2020-09-12 | docs+test: fix remaining installer downloads without -L (#4006) | Jade | |
Co-authored-by: lf- <lf-@users.noreply.github.com> | |||
2020-09-07 | Merge #3982: Minor docs updates | Vladimír Čunát | |
2020-09-03 | Remove the --indirect flag | Eelco Dolstra | |
All GC roots are now indirect. | |||
2020-09-01 | hacking.md: add --prefix flag to configure | Cole Helbling | |
Otherwise, the steps advertised in this document won't actually work (e.g. `make install` will fail, trying to access /usr, and `./inst/bin/nix` won't exist). | |||
2020-08-31 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-30 | mention how to run a single functional test for faster feedback loop | Domen Kožar | |
2020-08-28 | Merge branch 'minimal-logger' of https://github.com/Ma27/nix | Eelco Dolstra | |
2020-08-25 | Move import docs | Eelco Dolstra | |
2020-08-24 | Generate builtins section of the manual | Eelco Dolstra | |
2020-08-24 | Move primop docs inline | Eelco Dolstra | |
This makes them available to 'nix repl'. | |||
2020-08-24 | Allow primops to have Markdown documentation | Eelco Dolstra | |
2020-08-20 | Allow 'nix' subcommands to provide docs in Markdown format | Eelco Dolstra | |
2020-08-20 | List deprecated option aliases in the docs | Eelco Dolstra | |
2020-08-19 | Consistency | Eelco Dolstra | |
2020-08-19 | Generate the nix.conf docs from the source code | Eelco Dolstra | |
This means we don't have two (divergent) sets of option descriptions anymore. | |||
2020-08-19 | Improve margins between sections | Eelco Dolstra | |
The default CSS puts almost no space between sections, but a lot of space between subsections. This flips that around. | |||
2020-08-18 | Improve nix.1 manpage generator | Eelco Dolstra | |
2020-08-17 | Start generation of the nix.1 manpage | Eelco Dolstra | |
2020-08-17 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-06 | Add hashed-mirrors back | Matthew Bauer | |
Some users have their own hashed-mirrors setup, that is used to mirror things in addition to what’s available on tarballs.nixos.org. Although this should be feasable to do with a Binary Cache, it’s not always easy, since you have to remember what "name" each of the tarballs has. Continuing to support hashed-mirrors is cheap, so it’s best to leave support in Nix. Note that NIX_HASHED_MIRRORS is also supported in Nixpkgs through fetchurl.nix. Note that this excludes tarballs.nixos.org from the default, as in \#3689. All of these are available on cache.nixos.org. | |||
2020-07-31 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-07-31 | console -> shell | Eelco Dolstra | |
2020-07-31 | Enable syntax highlighting | Eelco Dolstra | |
2020-07-30 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-07-26 | libutil/logging: extend `internal-json` logger to make it more machine-readable | Maximilian Bosch | |
The new error-format is pretty nice from a UX point-of-view, however it's fairly hard to parse the output e.g. for editor plugins such as vim-ale[1] that use `nix-instantiate --parse` to determine syntax errors in Nix expression files. This patch extends the `internal-json` logger by adding the fields `line`, `column` and `file` to easily locate an error in a file and the field `raw_msg` which contains the error-message itself without code-lines and additional helpers. An exemplary output may look like this: ``` [nix-shell]$ ./inst/bin/nix-instantiate ~/test.nix --log-format minimal {"action":"msg","column":1,"file":"/home/ma27/test.nix","level":0,"line":4,"raw_msg":"syntax error, unexpected IF, expecting $end","msg":"<full error-msg with code-lines etc>"} ``` [1] https://github.com/dense-analysis/ale | |||
2020-07-24 | Remove DocBook manual | Eelco Dolstra | |
2020-07-24 | Fix internal links | Eelco Dolstra | |
2020-07-24 | Fix some dangling references | Eelco Dolstra | |
2020-07-24 | Fix nix-copy-closure manpage | Eelco Dolstra | |
2020-07-24 | Move figures | Eelco Dolstra | |
2020-07-24 | Clean up the manpages | Eelco Dolstra | |
2020-07-24 | Get rid of footnotes | Eelco Dolstra | |
Markdown doesn't support them. | |||
2020-07-23 | Sigh | Eelco Dolstra | |
2020-07-23 | <replaceable> -> <emphasis> | Eelco Dolstra | |
Pandoc doesn't know <replaceable> so let's force it to be rendered as italics. | |||
2020-07-23 | <simplesect> -> <section> | Eelco Dolstra | |
Pandoc silently ignores <simplesect>... | |||
2020-07-23 | Get rid of <figure> | Eelco Dolstra | |
2020-07-23 | Get rid of <example> | Eelco Dolstra | |
Markdown doesn't have floats so we can't have this. | |||
2020-07-23 | Get rid of callouts since Markdown doesn't support them | Eelco Dolstra | |
2020-07-23 | Install all manpages | Eelco Dolstra | |
2020-07-23 | Convert commands | Eelco Dolstra | |
2020-07-23 | Convert nix.conf manpage | Eelco Dolstra | |
2020-07-23 | Reconvert | Eelco Dolstra | |
2020-07-23 | <envar> -> <literal> | Eelco Dolstra | |