Update README.md

This commit is contained in:
Robert Hensing 2020-07-17 08:07:16 +02:00 committed by GitHub
parent 647d0821b5
commit 3626e37017
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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