aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/nix-prefetch-url.md
AgeCommit message (Collapse)Author
2021-04-23Replace the trailing markdown spaces by a backslashregnat
They are equivalent according to <https://spec.commonmark.org/0.29/#hard-line-breaks>, and the trailing spaces tend to be a pain (because the make git complain, editors tend to want to remove them − the `.editorconfig` actually specifies that − etc..).
2020-10-25Add sha512 to hashAlgo listings in manpages (#4186)tnias
2020-10-08Remove stray 'Title:' from the manualEelco Dolstra
Closes #4096.
2020-09-18nix-prefetch-url: Add --executable flagBryan 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-07-31Enable syntax highlightingEelco Dolstra
2020-07-24Clean up the manpagesEelco 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-23Convert commandsEelco Dolstra