haskellPackages.nix-serve-ng: fix build

* Workaround missing files in sdist
* Add missing undeclared boost dependency
This commit is contained in:
sternenseemann 2022-09-27 17:04:20 +02:00
parent febe17fd07
commit dcf7d06e39

View file

@ -154,6 +154,18 @@ self: super: builtins.intersectAttrs super {
# Add necessary reference to gtk3 package
gi-dbusmenugtk3 = addPkgconfigDepend pkgs.gtk3 super.gi-dbusmenugtk3;
# Doesn't declare boost dependency
nix-serve-ng = overrideSrc {
src = assert super.nix-serve-ng.version == "1.0.0";
# Workaround missing files in sdist
# https://github.com/aristanetworks/nix-serve-ng/issues/10
pkgs.fetchFromGitHub {
repo = "nix-serve-ng";
owner = "aristanetworks";
rev = "433f70f4daae156b84853f5aaa11987aa5ce7277";
sha256 = "0mqp67z5mi8rsjahdh395n7ppf0b65k8rd3pvnl281g02rbr69y2";
};
} (addPkgconfigDepend pkgs.boost.dev super.nix-serve-ng);
# These packages try to access the network.
amqp = dontCheck super.amqp;