From 32669a6bc95e590c6b3421240b270fda99288a24 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 27 Sep 2021 10:31:13 +0200 Subject: [PATCH] Use separate lowdown Overriding the lowdown in nixpkgs can break nixUnstable. --- flake.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index fc4836864..43123ca7e 100644 --- a/flake.nix +++ b/flake.nix @@ -70,7 +70,7 @@ [ buildPackages.bison buildPackages.flex - (lib.getBin buildPackages.lowdown) + (lib.getBin buildPackages.lowdown-nix) buildPackages.mdbook buildPackages.autoconf-archive buildPackages.autoreconfHook @@ -89,7 +89,7 @@ openssl sqlite libarchive boost - lowdown + lowdown-nix gmock ] ++ lib.optionals stdenv.isLinux [libseccomp] @@ -349,16 +349,9 @@ }; - lowdown = with final; stdenv.mkDerivation rec { + lowdown-nix = with final; stdenv.mkDerivation rec { name = "lowdown-0.9.0"; - /* - src = fetchurl { - url = "https://kristaps.bsd.lv/lowdown/snapshots/${name}.tar.gz"; - hash = "sha512-U9WeGoInT9vrawwa57t6u9dEdRge4/P+0wLxmQyOL9nhzOEUU2FRz2Be9H0dCjYE7p2v3vCXIYk40M+jjULATw=="; - }; - */ - src = lowdown-src; outputs = [ "out" "bin" "dev" ];