infra-vintage/tritonshell/pkgs/triton-utils.nix

20 lines
389 B
Nix
Raw Normal View History

2022-06-04 18:49:14 +00:00
{ nixpkgs, system, ... }:
let
pkgs = import nixpkgs {
inherit system;
};
in
pkgs.stdenv.mkDerivation {
pname = "triton-utils";
version = "0.0.3";
src = pkgs.lib.cleanSource ./.;
installPhase = ''
mkdir -p $out/bin $out/share/certs
cd ./utils
cp ./cacert-2022-02-01.pem $out/share/certs
cp ./ttp.sh $out/bin
cp ./unset-env.sh $out/bin
'';
}