mirror of
https://github.com/CHN-beta/hpcstat.git
synced 2026-01-10 09:49:23 +08:00
fix build
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
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
|
||||
{
|
||||
name = "hpcstat";
|
||||
src = ./.;
|
||||
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 ];
|
||||
postInstall =
|
||||
if standalone then "cp ${openssh}/bin/{ssh-add,ssh-keygen} $out/bin"
|
||||
|
||||
Reference in New Issue
Block a user