From ab7a5a507e910a3a9d2343cddf082417f71b225f Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 24 Apr 2017 11:43:48 +0200 Subject: move untilport: l/5 -> k/5 --- lass/5pkgs/default.nix | 1 - lass/5pkgs/untilport/default.nix | 18 ------------------ 2 files changed, 19 deletions(-) delete mode 100644 lass/5pkgs/untilport/default.nix (limited to 'lass/5pkgs') diff --git a/lass/5pkgs/default.nix b/lass/5pkgs/default.nix index e49a0442d..fd52325ae 100644 --- a/lass/5pkgs/default.nix +++ b/lass/5pkgs/default.nix @@ -18,7 +18,6 @@ pop = pkgs.callPackage ./pop/default.nix {}; q = pkgs.callPackage ./q {}; rs = pkgs.callPackage ./rs/default.nix {}; - untilport = pkgs.callPackage ./untilport/default.nix {}; urban = pkgs.callPackage ./urban/default.nix {}; xmonad-lass = import ./xmonad-lass.nix { inherit pkgs; }; yt-next = pkgs.callPackage ./yt-next/default.nix {}; diff --git a/lass/5pkgs/untilport/default.nix b/lass/5pkgs/untilport/default.nix deleted file mode 100644 index 61bcc2b89..000000000 --- a/lass/5pkgs/untilport/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ pkgs, ... }: - -pkgs.writeDashBin "untilport" '' - set -euf - - usage() { - echo 'untiport $target $port' - echo 'Sleeps until the destinated port is reachable.' - echo 'ex: untilport google.de 80 && echo "google is now reachable"' - } - - - if [ $# -ne 2 ]; then - usage - else - until ${pkgs.netcat-openbsd}/bin/nc -z "$@"; do sleep 1; done - fi -'' -- cgit v1.2.3