Removed old deploy script
This commit is contained in:
parent
c1fe091ec5
commit
1cd04cab09
3 changed files with 1 additions and 40 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
})) // {
|
})) // {
|
||||||
|
|
|
@ -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" ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,9 +1,7 @@
|
||||||
{ mkShell
|
{ mkShell
|
||||||
, deploy
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkShell {
|
mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
deploy
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue