mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 04:38:44 +08:00
localPackages.mirism: fix
This commit is contained in:
parent
7f343ce440
commit
eb4cac0f14
@ -25,7 +25,8 @@ inputs: rec
|
|||||||
{
|
{
|
||||||
inherit cppcoro nameof tgbot-cpp date;
|
inherit cppcoro nameof tgbot-cpp date;
|
||||||
nghttp2 = inputs.pkgs.callPackage "${inputs.topInputs."nixpkgs-23.05"}/pkgs/development/libraries/nghttp2"
|
nghttp2 = inputs.pkgs.callPackage "${inputs.topInputs."nixpkgs-23.05"}/pkgs/development/libraries/nghttp2"
|
||||||
{ enableAsioLib = true; };
|
{ enableAsioLib = true; stdenv = inputs.pkgs.gcc12Stdenv; };
|
||||||
|
stdenv = inputs.pkgs.gcc12Stdenv;
|
||||||
};
|
};
|
||||||
cppcoro = inputs.pkgs.callPackage ./cppcoro { src = inputs.topInputs.cppcoro; };
|
cppcoro = inputs.pkgs.callPackage ./cppcoro { src = inputs.topInputs.cppcoro; };
|
||||||
date = inputs.pkgs.callPackage ./date { src = inputs.topInputs.date; };
|
date = inputs.pkgs.callPackage ./date { src = inputs.topInputs.date; };
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp build/{ng01,beta} $out/bin
|
cp build/{ng01,beta} $out/bin
|
||||||
|
ln -s ${src} $out/src
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user