summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-24 20:17:32 +0200
committerlassulus <lassulus@lassul.us>2021-10-24 20:17:32 +0200
commit6ad567a18ed27b8c07bd79e045ac082f1dfe148e (patch)
treec78a073a3439434f3a77847752a5cc0d72b982f4
parent9fc5849786a82c4cd5bec695d6f9086237a597df (diff)
pkgs.nomads-cloud: put tmpfiles into tmpdir
-rw-r--r--krebs/5pkgs/simple/nomads-cloud/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/krebs/5pkgs/simple/nomads-cloud/default.nix b/krebs/5pkgs/simple/nomads-cloud/default.nix
index 97cf10d1f..cc9e7a964 100644
--- a/krebs/5pkgs/simple/nomads-cloud/default.nix
+++ b/krebs/5pkgs/simple/nomads-cloud/default.nix
@@ -1,10 +1,10 @@
{ writers, coreutils, grib2json, curl, jq, findutils, imagemagick }:
writers.writeDashBin "nomads-cloud" ''
prefix=$(mktemp -d)
- grib_path=$prefix.grib
- json_path=$prefix.json
- pgm_path=$prefix.pgm
- png_path="$1"
+ grib_path=$prefix/clouds.grib
+ json_path=$prefix/clouds.json
+ pgm_path=$prefix/clouds.pgm
+ png_path=$1
mkdir -p "$prefix"