Merge pull request #47 from hercules-ci/readme-alternative-fetch
Add alternative fetching method to README
This commit is contained in:
commit
c4662e6624
1 changed files with 8 additions and 0 deletions
|
|
@ -32,6 +32,14 @@ in
|
|||
<your nix expression>
|
||||
```
|
||||
|
||||
Or using only `nixpkgs/lib` and only evaluation-time fetching:
|
||||
|
||||
```nix
|
||||
import (builtins.fetchTarball "https://github.com/hercules-ci/gitignore.nix/archive/000000000000000000000000000000000000000000000000000".tar.gz") {
|
||||
lib = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/000000000000000000000000000000000000000000000000000".tar.gz" + "/lib");
|
||||
}
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
||||
```nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue