mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 07:49:24 +08:00
packages.mirism-old: fix
This commit is contained in:
@@ -26,11 +26,12 @@ inputs: rec
|
||||
tgbot-cpp = inputs.pkgs.callPackage ./tgbot-cpp.nix { src = inputs.topInputs.tgbot-cpp; };
|
||||
mirism-old = inputs.pkgs.callPackage ./mirism-old.nix
|
||||
{
|
||||
inherit cppcoro nameof tgbot-cpp date;
|
||||
inherit cppcoro nameof date;
|
||||
inherit (inputs.pkgs.pkgs-2305) boost;
|
||||
src = inputs.topInputs.self.src.mirism-old;
|
||||
nghttp2 = inputs.pkgs.callPackage "${inputs.topInputs.nixpkgs-2305}/pkgs/development/libraries/nghttp2"
|
||||
{ enableAsioLib = true; stdenv = inputs.pkgs.gcc12Stdenv; };
|
||||
nghttp2 = inputs.pkgs.pkgs-2305.nghttp2.override { enableAsioLib = true; };
|
||||
stdenv = inputs.pkgs.gcc12Stdenv;
|
||||
tgbot-cpp = tgbot-cpp.override { stdenv = inputs.pkgs.gcc12Stdenv; };
|
||||
};
|
||||
cppcoro = inputs.pkgs.callPackage ./cppcoro { src = inputs.topInputs.cppcoro; };
|
||||
date = inputs.pkgs.callPackage ./date.nix { src = inputs.topInputs.date; };
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
inherit src;
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ boost openssl zlib curl ];
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||
propagatedBuildInputs = buildInputs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user