From e8559110ff55a6a47142df865ff2bd5e2a76b112 Mon Sep 17 00:00:00 2001 From: justinwoo Date: Sat, 8 Dec 2018 14:43:05 +0200 Subject: [PATCH] update README --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b697fd6..1490fcc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,22 @@ nix-shell -A shell ## Installation -You might choose to simply copy the derivations from this repository, or you can fetch the git/Github repo using the various helpers. +You might choose to simply copy the derivations from this repository, or you can fetch the git/Github repo using the various helpers: + +```nix +> nix repl +nix-repl> pkgs = import {} + +nix-repl> drvs = import (pkgs.fetchFromGitHub { + owner = "justinwoo"; + repo = "easy-dhall-nix"; + rev = "87406a76409c16bbd7511e397cfc52e1c58954e3"; + sha256 = "1sjpckyhvlks5yls0qqfd0iaf7pxp1sp3dikqh41lg6xsxx6lqhi"; +}) {} + +nix-repl> drvs.dhall-simple +«derivation /nix/store/qz29jbplpmlvsbmq05084dh1fbs8sl0h-dhall-simple.drv» +``` ## NixOS: Contributors needed