aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-05-03 21:50:48 +0200
committerlassulus <lassulus@lassul.us>2018-05-03 21:50:48 +0200
commitc3af2ddcf24bfed5962d9a3f68a24cd9a746ba1c (patch)
tree7fb42cd7c0ef174cf3bc6656da3bec8f25d8ce4b
parent4e466eaf05861b47365c5ef46a31a188b70f3615 (diff)
readme: use builtins.fetchGit to follow master
-rw-r--r--README.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/README.md b/README.md
index 251a923..239db97 100644
--- a/README.md
+++ b/README.md
@@ -14,10 +14,9 @@ create a krops.nix somewhere
```
let
#krops = ./.;
- krops = (import <nixpkgs> {}).fetchgit {
+ krops = builtins.fetchGit {
url = https://cgit.krebsco.de/krops/;
- rev = "3022582ade8049e6ccf18f358cedb996d6716945";
- sha256 = "0k3zhv2830z4bljcdvf6ciwjihk2zzcn9y23p49c6sba5hbsd6jb";
+ ref = "master";
};
lib = import "${krops}/lib";
@@ -27,7 +26,6 @@ let
nixpkgs.git = {
ref = "4b4bbce199d3b3a8001ee93495604289b01aaad3";
url = https://github.com/NixOS/nixpkgs;
-
};
nixos-config.file = toString (pkgs.writeText "nixos-config" ''
{ pkgs, ... }: {