about summary refs log tree commit diff
path: root/doc/manual/command-ref/nix-prefetch-url.xml
AgeCommit message (Collapse)AuthorFilesLines
2015-10-07 nix-prefetch-url: Add --name optionEelco Dolstra1-0/+12
This allows overriding the name component of the resulting Nix store path, which is necessary if the base name of the URI contains "illegal" characters.
2015-10-07 nix-prefetch-url: Support unpacking tarballsEelco Dolstra1-1/+16
This allows nix-prefetch-url to prefetch the output of fetchzip and its wrappers (like fetchFromGitHub). For example: $ nix-prefetch-url --unpack https://github.com/NixOS/patchelf/archive/0.8.tar.gz or from a Nix expression: $ nix-prefetch-url -A nix-repl.src In the latter case, --unpack can be omitted because nix-repl.src is a fetchFromGitHub derivation and thus has "outputHashMode" set to "recursive".
2015-10-01 nix-prefetch-url: Support prefetching from a Nix expressionEelco Dolstra1-0/+1
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 nix-prefetch-url: $PRINT_PATH -> --print-pathEelco Dolstra1-10/+17
2014-09-16 Fix references to version.txtEelco Dolstra1-1/+1
2014-08-27 Restructuring the Nix manualMikey Ariel1-0/+94