Adding my “at”
This commit is contained in:
parent
cf9a7cafb5
commit
e12fe3ae07
1 changed files with 7 additions and 3 deletions
|
@ -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 "$@"
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue