aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrédéric Menou <frederic.menou@fretlink.com>2018-06-20 00:26:17 +0200
committerFrédéric Menou <frederic.menou@fretlink.com>2018-06-20 00:26:31 +0200
commit2b21c2dff9c044ccdfcc578bc8d62866f87ecef1 (patch)
tree21c7e4fc4ec4da8570616bea93a9847dc32752f5
parent7c2a7868b387ffd064dd14c51f7b18224cdc5c88 (diff)
downloadclever-tools-nix-2b21c2dff9c044ccdfcc578bc8d62866f87ecef1.tar.gz
clever-tools-nix-2b21c2dff9c044ccdfcc578bc8d62866f87ecef1.tar.zst
clever-tools-nix-2b21c2dff9c044ccdfcc578bc8d62866f87ecef1.zip
Example Nix expression to use this
-rw-r--r--example.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/example.nix b/example.nix
new file mode 100644
index 0000000..1245fec
--- /dev/null
+++ b/example.nix
@@ -0,0 +1,11 @@
1{ pkgs ? import <nixpkgs> {} }:
2
3let
4 clever-tools = pkgs.fetchFromGitHub
5 { owner = "fmenou";
6 repo = "clever-tools-nix";
7 rev = "7c2a7868b387ffd064dd14c51f7b18224cdc5c88";
8 sha256 = "0r4bc4k90xpq325djvsyix9a6hiabmd4nba14j0plgdrwgzb36rh";
9 };
10
11in import clever-tools { inherit pkgs; }