home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6f39e83c79b7d8eb0c35731607609088fcdef27a
parent 3b1eb5ec4097d862b9ed847bcaa444e32bb3a541
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri,  4 Dec 2020 17:51:18 +0100

pkgs: batz fix tzdata

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mpkgs/batzconverter/default.nix | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pkgs/batzconverter/default.nix b/pkgs/batzconverter/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub }: +{ stdenv, lib, fetchFromGitHub, tzdata }: stdenv.mkDerivation rec { pname = "batzconverter"; @@ -14,6 +14,9 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/bin + # Some other hard-coded paths to fix: + sed -i 's#/usr/share/zoneinfo/#${tzdata}/share/zoneinfo/#g' \ + batz.sh cp batz.sh $out/bin/batz chmod +x $out/bin/batz '';