From 1cd04cab0918b5ad0ce6898651002fe8f265ca88 Mon Sep 17 00:00:00 2001 From: dadada Date: Sat, 11 Dec 2021 23:35:11 +0100 Subject: [PATCH] Removed old deploy script --- outputs.nix | 5 +---- pkgs/deploy.nix | 34 ---------------------------------- shell.nix | 2 -- 3 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 pkgs/deploy.nix diff --git a/outputs.nix b/outputs.nix index decc855..b602aac 100644 --- a/outputs.nix +++ b/outputs.nix @@ -48,11 +48,8 @@ type = "app"; program = "${selfPkgs.recipemd}/bin/recipemd"; }; - devShell = pkgs.callPackage ./shell.nix { - deploy = selfPkgs.deploy; - }; + devShell = pkgs.callPackage ./shell.nix { }; packages = flake-utils.lib.flattenTree { - deploy = pkgs.callPackage ./pkgs/deploy.nix { }; recipemd = pkgs.python3Packages.toPythonApplication python3Packages.recipemd; }; })) // { diff --git a/pkgs/deploy.nix b/pkgs/deploy.nix deleted file mode 100644 index 9771e79..0000000 --- a/pkgs/deploy.nix +++ /dev/null @@ -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" ]; - }; -} diff --git a/shell.nix b/shell.nix index 37a2389..805620f 100644 --- a/shell.nix +++ b/shell.nix @@ -1,9 +1,7 @@ { mkShell -, deploy }: mkShell { buildInputs = [ - deploy ]; }