From 3626e37017d69464ccd14f61c5da4d601df0f868 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 17 Jul 2020 08:07:16 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 59947a9..c403af2 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,14 @@ in ``` +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