You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
demo-err
changed the title
nix-command doesn't change (always 0) the value of $CMD_DURATION
nix-command doesn't change the value (always 0) of $CMD_DURATION
May 20, 2025
Describe the bug
the value of $CMD_DURATION doesn't change (always 0) after performing a nix command. e.g.:
nix shell nixpkgs#figlet
Steps To Reproduce
nix shell nixpkgs#boxes
or any programmeecho $CMD_DURATION
echo $CMD_DURATION
after doing a command other thannix
Expected behavior
echo $CMD_DURATION
should print the time it took to perform the last commandMetadata
nix-env (Nix) 2.24.14
Additional context
my default shell: fish, but i think that it's the same issue with nushell, bash, sh
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: