mcwhirter.io: switched to using niv

This commit is contained in:
Serĉanto de Scio 2021-11-03 18:24:52 +10:00
parent a2fb766abd
commit b758be6c3b
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 8 additions and 6 deletions

View file

@ -35,6 +35,12 @@
"url": "https://github.com/input-output-hk/iohk-nix/archive/df1da282f996ec46b33379407df99613a1fbafdd.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"mcwhirter-io": {
"sha256": "1izx568c152lcgf4ia2zcx83mvcbdr91k9nxqvsvk7y1fs0xk1cv",
"type": "tarball",
"url": "https://source.mcwhirter.io/craige/mcwhirter.io/archive/consensus.tar.gz",
"url_template": "https://source.mcwhirter.io/craige/mcwhirter.io/archive/consensus.tar.gz"
},
"niv": {
"branch": "master",
"description": "Easy dependency management for Nix projects",

View file

@ -3,12 +3,8 @@
{ config, pkgs, ...}:
let
mcwhirter-io = import (pkgs.fetchgit {
name = "mcwhirter-io-src";
url = "https://source.mcwhirter.io/craige/mcwhirter.io.git";
branchName = "consensus";
sha256 = "sha256-m4XZgXbBn7n1xt2mGVJui+06UGdfqEjcY1SUwJAp/cc=";
}) { nixpkgs = pkgs; };
sources = import ../nix/sources.nix;
mcwhirter-io = import sources.mcwhirter-io {};
webdomain = "mcwhirter.io";
in {