1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-26 21:19:47 +01:00

readme: use builtins.fetchGit to follow master

This commit is contained in:
lassulus 2018-05-03 21:50:48 +02:00
parent 4e466eaf05
commit c3af2ddcf2

View file

@ -14,10 +14,9 @@ create a krops.nix somewhere
``` ```
let let
#krops = ./.; #krops = ./.;
krops = (import <nixpkgs> {}).fetchgit { krops = builtins.fetchGit {
url = https://cgit.krebsco.de/krops/; url = https://cgit.krebsco.de/krops/;
rev = "3022582ade8049e6ccf18f358cedb996d6716945"; ref = "master";
sha256 = "0k3zhv2830z4bljcdvf6ciwjihk2zzcn9y23p49c6sba5hbsd6jb";
}; };
lib = import "${krops}/lib"; lib = import "${krops}/lib";
@ -27,7 +26,6 @@ let
nixpkgs.git = { nixpkgs.git = {
ref = "4b4bbce199d3b3a8001ee93495604289b01aaad3"; ref = "4b4bbce199d3b3a8001ee93495604289b01aaad3";
url = https://github.com/NixOS/nixpkgs; url = https://github.com/NixOS/nixpkgs;
}; };
nixos-config.file = toString (pkgs.writeText "nixos-config" '' nixos-config.file = toString (pkgs.writeText "nixos-config" ''
{ pkgs, ... }: { { pkgs, ... }: {