mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 22:30:52 +00:00
06f29fafe8
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 |
||
---|---|---|
.. | ||
command-ref.xml | ||
conf-file.xml | ||
env-common.xml | ||
files.xml | ||
main-commands.xml | ||
nix-build.xml | ||
nix-channel.xml | ||
nix-collect-garbage.xml | ||
nix-copy-closure.xml | ||
nix-daemon.xml | ||
nix-env.xml | ||
nix-generate-patches.xml | ||
nix-hash.xml | ||
nix-install-package.xml | ||
nix-instantiate.xml | ||
nix-prefetch-url.xml | ||
nix-pull.xml | ||
nix-push.xml | ||
nix-shell.xml | ||
nix-store.xml | ||
opt-common-syn.xml | ||
opt-common.xml | ||
opt-inst-syn.xml | ||
utilities.xml |