mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-30 13:38:37 +03:00
68ef662654
Previously, the krops pkg was accessed by evaluating nixpkgs with the krops overlay. Now directly call krops with an existing pkgs instance.
16 lines
385 B
Nix
16 lines
385 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
let
|
|
src = pkgs.fetchgit {
|
|
url = "https://cgit.krebsco.de/krops";
|
|
rev = "1.26.2";
|
|
sha256 = "0mzn213dh3pklvdzfpwi4nin4lncdap447zvl11j81r809jll76j";
|
|
};
|
|
in {
|
|
lib = import "${src}/lib";
|
|
pkgs = rec {
|
|
krops = pkgs.callPackage "${src}/pkgs/krops" { inherit populate; };
|
|
populate = pkgs.callPackage "${src}/pkgs/populate" {};
|
|
};
|
|
}
|