nix-super/doc/manual/src
Bryan Richter 5fe375a8f1
nix-prefetch-url: Add --executable flag
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-18 19:09:45 +03:00
..
advanced-topics Enable syntax highlighting 2020-07-31 15:43:25 +02:00
command-ref nix-prefetch-url: Add --executable flag 2020-09-18 19:09:45 +03:00
expressions Move import docs 2020-08-25 14:06:01 +02:00
figures Move figures 2020-07-24 12:58:31 +02:00
installation Enable syntax highlighting 2020-07-31 15:43:25 +02:00
package-management Enable syntax highlighting 2020-07-31 15:43:25 +02:00
release-notes docs+test: fix remaining installer downloads without -L (#4006) 2020-09-12 22:08:40 +02:00
glossary.md Fix some dangling references 2020-07-24 14:31:33 +02:00
hacking.md hacking.md: add --prefix flag to configure 2020-09-01 12:06:02 -07:00
introduction.md Enable syntax highlighting 2020-07-31 15:43:25 +02:00
quick-start.md Enable syntax highlighting 2020-07-31 15:43:25 +02:00
SUMMARY.md Move primop docs inline 2020-08-24 14:31:10 +02:00