Adding my “at”

This commit is contained in:
EEva (JPotier) 2020-08-05 19:47:17 +03:00
parent cf9a7cafb5
commit e12fe3ae07

View file

@ -2,9 +2,6 @@
self: super:
#let
# mopidyTree = import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/d68db15912f6ff0f0082ed3825efae5098c77905.tar.gz) {};
#in
{
iosevka-hskl = super.iosevka.override {
privateBuildPlan = {
@ -57,5 +54,12 @@ self: super:
clean &
'';
myAt = pkgs.writeScriptBin "at" ''
echo "Running cmd in $(( $(date -d "$1" +%s) - $(date +%s) )) seconds"
sleep $(( $(date -d "$1" +%s) - $(date +%s) ))
shift 1
eval "$@"
'';
}