summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-11-10 20:19:20 +0100
committerlassulus <lass@blue.r>2018-11-10 20:19:20 +0100
commitee8196c20f5fad3ff640ca5484f6a24ff304c444 (patch)
treea4e82ab8fce2c30c1dbb6e13c541fa7882bab79f /tv/5pkgs
parentcd720e1a9ed12413504ddae2d381279ec30ce24a (diff)
parentdfb9c237607b73f00cd52ca5c5b731f45d83f932 (diff)
Merge remote-tracking branch 'ni/master'prism/master
Diffstat (limited to 'tv/5pkgs')
-rw-r--r--tv/5pkgs/simple/q/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tv/5pkgs/simple/q/default.nix b/tv/5pkgs/simple/q/default.nix
index 655c75e1b..cbcec1bae 100644
--- a/tv/5pkgs/simple/q/default.nix
+++ b/tv/5pkgs/simple/q/default.nix
@@ -71,6 +71,11 @@ let
'+%Y-%m-%dT%H:%M:%S%:z'
'';
+ q-utcdate = ''
+ ${pkgs.coreutils}/bin/date -u \
+ '+%Y-%m-%dT%H:%M:%S%:z'
+ '';
+
q-gitdir = ''
if test -d .git; then
#git status --porcelain
@@ -295,6 +300,7 @@ pkgs.writeBashBin "q" ''
set -eu
export PATH=/var/empty
${q-cal}
+ ${q-utcdate}
${q-isodate}
${q-sgtdate}
(${q-gitdir}) &