mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 07:28:56 +08:00
13 lines
285 B
Nix
13 lines
285 B
Nix
{
|
|
stdenv, lib, sbatchConfig ? null, substituteAll, runCommand,
|
|
cmake, pkg-config, ftxui, biu
|
|
}:
|
|
stdenv.mkDerivation
|
|
{
|
|
name = "chn-bsub";
|
|
src = ./.;
|
|
buildInputs = [ ftxui biu ];
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
postInstall = "ln -s chn-bsub $out/bin/chn_bsub";
|
|
}
|