Skip to content

Commit

Permalink
Use separate lowdown
Browse files Browse the repository at this point in the history
Overriding the lowdown in nixpkgs can break nixUnstable.
  • Loading branch information
edolstra committed Sep 27, 2021
1 parent aedbc7b commit 32669a6
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
[
buildPackages.bison
buildPackages.flex
(lib.getBin buildPackages.lowdown)
(lib.getBin buildPackages.lowdown-nix)
buildPackages.mdbook
buildPackages.autoconf-archive
buildPackages.autoreconfHook
Expand All @@ -89,7 +89,7 @@
openssl sqlite
libarchive
boost
lowdown
lowdown-nix
gmock
]
++ lib.optionals stdenv.isLinux [libseccomp]
Expand Down Expand Up @@ -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" ];
Expand Down

0 comments on commit 32669a6

Please sign in to comment.