nix-super/doc/manual/command-ref
Eelco Dolstra 06f29fafe8 nix-prefetch-url: Support prefetching from a Nix expression
For example,

  $ nix-prefetch-url -A hello.src

will prefetch the file specified by the fetchurl call in the attribute
‘hello.src’ from the Nix expression in the current directory. This
differs from ‘nix-build -A hello.src’ in that it doesn't verify the
hash.

You can also specify a path to the Nix expression:

  $ nix-prefetch-url ~/Dev/nixpkgs -A hello.src

List elements (typically used in ‘patches’ attributes) also work:

  $ nix-prefetch-url -A portmidi.patches.0
2015-10-01 18:07:56 +02:00
..
command-ref.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
conf-file.xml Document setting up signed binary caches 2015-06-01 17:14:16 +02:00
env-common.xml Document tarball downloading 2015-06-01 15:14:44 +02:00
files.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
main-commands.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
nix-build.xml Document tarball downloading 2015-06-01 15:14:44 +02:00
nix-channel.xml Merge branch 'docs/channels-path' of git://github.com/iElectric/nix 2015-02-22 11:59:38 -05:00
nix-collect-garbage.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-copy-closure.xml nix-copy-closure: Add -v flag 2015-07-20 01:52:07 +02:00
nix-daemon.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-env.xml doc: fix the 'prebuild' typos 2015-09-17 12:08:05 +02:00
nix-generate-patches.xml add manpage for nix-generate-patches 2014-09-23 15:10:18 +02:00
nix-hash.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-install-package.xml Update .nixpkg description 2014-12-13 23:27:22 +01:00
nix-instantiate.xml doc: fixed nix-instantiate --find-file 2014-10-27 08:45:10 +01:00
nix-prefetch-url.xml nix-prefetch-url: Support prefetching from a Nix expression 2015-10-01 18:07:56 +02:00
nix-pull.xml Document channel format and excise most mentions of manifests and nix-pull 2014-12-13 23:16:08 +01:00
nix-push.xml Fix manual 2015-06-08 11:25:04 +02:00
nix-shell.xml Document tarball downloading 2015-06-01 15:14:44 +02:00
nix-store.xml Document setting up signed binary caches 2015-06-01 17:14:16 +02:00
opt-common-syn.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
opt-common.xml Merge branch 'master' of github.com:thatdocslady/nix 2014-09-16 14:13:36 +02:00
opt-inst-syn.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
utilities.xml Undocument nix-generate-patches 2014-12-13 23:17:26 +01:00