diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-01T16·07+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-01T16·07+0200 |
commit | 06f29fafe8496ae751e84a8ded0cc1041740cfe0 (patch) | |
tree | 47885d8e77feb6c76772239d4ee87192953b310b /doc/manual/command-ref/nix-channel.xml | |
parent | a3c4eb096456673b48f4fc35b76097d67e022141 (diff) |
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
Diffstat (limited to 'doc/manual/command-ref/nix-channel.xml')
0 files changed, 0 insertions, 0 deletions