infra-vintage/tritonshell/pkgs/triton-utils.nix
2022-06-04 20:49:14 +02:00

20 lines
389 B
Nix

{ 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
'';
}