Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-07 | nix-prefetch-url: Support unpacking tarballs | Eelco Dolstra | 1 | -15/+47 | |
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 expression | Eelco Dolstra | 1 | -4/+36 | |
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-path | Eelco Dolstra | 1 | -2/+6 | |
2015-10-01 | nix-prefetch-url: Rewrite in C++ | Eelco Dolstra | 1 | -0/+132 | |