Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-shell should not mess with TZ #982

Open
bennofs opened this issue Jul 19, 2016 · 4 comments
Open

nix-shell should not mess with TZ #982

bennofs opened this issue Jul 19, 2016 · 4 comments
Assignees
Labels
nix-shell nix-shell, nix develop, nix print-dev-env, etc stale UX The way in which users interact with Nix. Higher level than UI.

Comments

@bennofs
Copy link
Contributor

bennofs commented Jul 19, 2016

Currently, nix-shell unsets or preserves the TZ environment variable, even with --pure. I think it should just use the TZ environment variable that the build sets, which is UTC for stdenv.

@copumpkin
Copy link
Member

Agreed. @domenkozar @edolstra @shlevy any thoughts?

@shlevy
Copy link
Member

shlevy commented Feb 26, 2017

Hmm, why is this problematic?

@bennofs
Copy link
Contributor Author

bennofs commented Feb 26, 2017

@shlevy I believe this was problematic with a combination of fake-time, where 0 unix-time was now +1h unix time in nix-shell. I'm sorry, I don't recall exactly what the issue was, I now find that my initial issue description is really poor :|

@stale
Copy link

stale bot commented Feb 15, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Feb 15, 2021
@fricklerhandwerk fricklerhandwerk added UX The way in which users interact with Nix. Higher level than UI. nix-shell nix-shell, nix develop, nix print-dev-env, etc labels Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nix-shell nix-shell, nix develop, nix print-dev-env, etc stale UX The way in which users interact with Nix. Higher level than UI.
Projects
None yet
Development

No branches or pull requests

5 participants