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

Revert "readme: use builtins.fetchGit to follow master"

This reverts commit c3af2ddcf2.
This commit is contained in:
lassulus 2018-10-02 19:51:54 +02:00
parent b81d2468b9
commit 7c283d06ef

View file

@ -17,7 +17,8 @@ Create a file named `krops.nix` (name doesn't matter) with following content:
let let
krops = (import <nixpkgs> {}).fetchgit { krops = (import <nixpkgs> {}).fetchgit {
url = https://cgit.krebsco.de/krops/; url = https://cgit.krebsco.de/krops/;
ref = "master"; rev = "3022582ade8049e6ccf18f358cedb996d6716945";
sha256 = "0k3zhv2830z4bljcdvf6ciwjihk2zzcn9y23p49c6sba5hbsd6jb";
}; };
lib = import "${krops}/lib"; lib = import "${krops}/lib";
@ -27,6 +28,7 @@ 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, ... }: {