mirror of
https://github.com/CHN-beta/hpcstat.git
synced 2026-01-11 10:19:27 +08:00
fix build
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user