Removed old deploy script

This commit is contained in:
Tim Schubert 2021-12-11 23:35:11 +01:00
parent c1fe091ec5
commit 1cd04cab09
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
3 changed files with 1 additions and 40 deletions

View file

@ -48,11 +48,8 @@
type = "app"; type = "app";
program = "${selfPkgs.recipemd}/bin/recipemd"; program = "${selfPkgs.recipemd}/bin/recipemd";
}; };
devShell = pkgs.callPackage ./shell.nix { devShell = pkgs.callPackage ./shell.nix { };
deploy = selfPkgs.deploy;
};
packages = flake-utils.lib.flattenTree { packages = flake-utils.lib.flattenTree {
deploy = pkgs.callPackage ./pkgs/deploy.nix { };
recipemd = pkgs.python3Packages.toPythonApplication python3Packages.recipemd; recipemd = pkgs.python3Packages.toPythonApplication python3Packages.recipemd;
}; };
})) // { })) // {

View file

@ -1,34 +0,0 @@
{ stdenv
, lib
, git
, openssh
, bash
}:
stdenv.mkDerivation rec {
name = "dadada-deploy";
version = "0.1.1";
src = ../utils;
buildInputs = [
git
openssh
bash
];
installPhase = ''
mkdir -p $out/bin
for script in \
deploy \
gen-config
do
install $script $out/bin/
done
'';
meta = with lib; {
description = "deploy scripts";
license = licenses.publicDomain;
platforms = platforms.unix;
maintainers = [ "dadada" ];
};
}

View file

@ -1,9 +1,7 @@
{ mkShell { mkShell
, deploy
}: }:
mkShell { mkShell {
buildInputs = [ buildInputs = [
deploy
]; ];
} }