summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-09-11 20:18:01 +0200
committertv <tv@krebsco.de>2018-09-11 20:18:01 +0200
commitca2477ab3a4dbe392e8b9e6614540c4b089ade82 (patch)
tree7ea1cfd0fe906dcc5c2573ff70f4c6f47c737df3
parentea9fcce6944eb71ebb03862ced66cf280dad55a2 (diff)
krebs krops: cd to proper stockholm directory
-rw-r--r--krebs/krops.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/krops.nix b/krebs/krops.nix
index 5378d6fb0..e5013ad08 100644
--- a/krebs/krops.nix
+++ b/krebs/krops.nix
@@ -18,7 +18,7 @@
stockholm.file = toString ../.;
stockholm-version.pipe = toString (pkgs.writeDash "${name}-version" ''
set -efu
- cd $HOME/stockholm
+ cd ${lib.escapeShellArg krebs-source.stockholm.file}
V=$(${pkgs.coreutils}/bin/date +%y.%m)
if test -d .git; then
V=$V.git.$(${pkgs.git}/bin/git describe --always --dirty)