lix/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
..
build-remote Make system-features a store setting 2020-08-12 18:13:00 +00:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libexpr Remove corepkgs/derivation.nix 2020-09-17 09:41:02 +02:00
libfetchers Make the store plugins more introspectable 2020-09-16 13:53:08 +02:00
libmain Change option descriptions to Markdown 2020-08-19 14:21:27 +02:00
libstore Merge pull request #3829 from obsidiansystems/remove-storetype-delegate-regStore 2020-09-17 13:55:01 +02:00
libutil Don't include nlohmann/json.hpp in config.hh 2020-09-16 13:53:09 +02:00
nix nix build: find() -> get() 2020-09-18 13:10:42 +02:00
nix-build Merge remote-tracking branch 'upstream/master' into single-ca-drv-build 2020-09-15 14:17:06 +00:00
nix-channel Remove corepkgs/unpack-channel.nix 2020-09-17 09:41:02 +02:00
nix-collect-garbage unsigned long long -> uint64_t 2020-07-30 13:34:04 +02:00
nix-copy-closure Revert the enum struct change 2020-06-18 22:11:26 +00:00
nix-daemon Fix max fd calc and add test 2020-08-20 05:08:50 +00:00
nix-env createGeneration(): Take a StorePath 2020-09-03 11:06:56 +02:00
nix-instantiate addPermRoot(): Remove indirect flag 2020-09-03 11:29:34 +02:00
nix-prefetch-url nix-prefetch-url: Add --executable flag 2020-09-18 19:09:45 +03:00
nix-store Merge remote-tracking branch 'upstream/master' into single-ca-drv-build 2020-09-03 15:43:17 +00:00
resolve-system-dependencies StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00