From 788008385ef5bf7edb799977525d6f73f02c76bc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 23 Apr 2021 14:14:34 +0200 Subject: [PATCH] Use lowdown 0.8.4 --- flake.lock | 18 ++++++++++++++++++ flake.nix | 10 ++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 9867e694b..06c507e7d 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,22 @@ { "nodes": { + "lowdown-src": { + "flake": false, + "locked": { + "lastModified": 1617481909, + "narHash": "sha256-SqnfOFuLuVRRNeVJr1yeEPJue/qWoCp5N6o5Kr///p4=", + "owner": "kristapsdz", + "repo": "lowdown", + "rev": "148f9b2f586c41b7e36e73009db43ea68c7a1a4d", + "type": "github" + }, + "original": { + "owner": "kristapsdz", + "ref": "VERSION_0_8_4", + "repo": "lowdown", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1614309161, @@ -17,6 +34,7 @@ }, "root": { "inputs": { + "lowdown-src": "lowdown-src", "nixpkgs": "nixpkgs" } } diff --git a/flake.nix b/flake.nix index 8cd000e83..ebaafb049 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,9 @@ description = "The purely functional package manager"; inputs.nixpkgs.url = "nixpkgs/nixos-20.09-small"; - #inputs.lowdown-src = { url = "github:kristapsdz/lowdown"; flake = false; }; + inputs.lowdown-src = { url = "github:kristapsdz/lowdown/VERSION_0_8_4"; flake = false; }; - outputs = { self, nixpkgs }: + outputs = { self, nixpkgs, lowdown-src }: let @@ -271,14 +271,16 @@ }; lowdown = with final; stdenv.mkDerivation rec { - name = "lowdown-0.8.0"; + name = "lowdown-0.8.4"; + /* src = fetchurl { url = "https://kristaps.bsd.lv/lowdown/snapshots/${name}.tar.gz"; hash = "sha512-U9WeGoInT9vrawwa57t6u9dEdRge4/P+0wLxmQyOL9nhzOEUU2FRz2Be9H0dCjYE7p2v3vCXIYk40M+jjULATw=="; }; + */ - #src = lowdown-src; + src = lowdown-src; outputs = [ "out" "bin" "dev" ];