Fix time-zone combinator

Most software that wants to know the timezone reads the symlink in
`/etc/localtime`. A previous update broke this assumption when
attempting to fix the combinator to work on non-NixOS systems.

This change should fix the time-zone combinator in both NixOS and
non-NixOS systems.
This commit is contained in:
Alex David 2025-09-15 21:57:18 -07:00
commit 45c2b47d71
3 changed files with 51 additions and 1 deletions

View file

@ -2,6 +2,7 @@ image: nixos/25.05
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
tasks:
- setup: "sudo ln -s /etc/zoneinfo/EST /etc/localtime"
- test-jail-nix: "cd jail.nix/tests && nix run .#runTests"
- check-format: "cd jail.nix/tests && nix run .#checkFmt"
- build-website: "cd jail.nix/website && nix build -L .#default"