20 lines
389 B
Nix
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
|
||
|
'';
|
||
|
}
|