mirror of
https://github.com/CHN-beta/hpcstat.git
synced 2024-10-22 20:18:44 +08:00
fix build
This commit is contained in:
parent
a1a7760415
commit
dbc1cd55d4
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
stdenv, cmake, pkg-config, standalone ? false, makeWrapper,
|
stdenv, cmake, pkg-config, standalone ? false, makeWrapper,
|
||||||
boost, fmt, zxorm, nlohmann_json, zpp-bits, range-v3, nameof, openssh
|
boost, fmt, zxorm, nlohmann_json, zpp-bits, range-v3, nameof, openssh, sqlite
|
||||||
}: stdenv.mkDerivation
|
}: stdenv.mkDerivation
|
||||||
{
|
{
|
||||||
name = "hpcstat";
|
name = "hpcstat";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ boost fmt zxorm nlohmann_json zpp-bits range-v3 nameof ];
|
[ boost fmt zxorm nlohmann_json zpp-bits range-v3 nameof sqlite ];
|
||||||
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
|
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
|
||||||
postInstall =
|
postInstall =
|
||||||
if standalone then "cp ${openssh}/bin/{ssh-add,ssh-keygen} $out/bin"
|
if standalone then "cp ${openssh}/bin/{ssh-add,ssh-keygen} $out/bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user