Bjørn Forsman <bjorn.fors...@gmail.com> writes:

> On 15 June 2016 at 16:36, Eike <e...@eknet.org> wrote:
>>
>> sorry, I meant to write `sudo date +%Y%m%d -s "20180210`.
>>
> Your command works for me. ("date" returns the new date.) But for
> testing purposes, I'd have a look at faketime instead: nix-env -iA
> nixos.libfaketime.

It's strange, the date command works here fine, too. At work I'm running
nixos in a vm, maybe this makes a difference…. But thanks for mentioning
libfaketime, I didn't know about it and it is exactly what I need.

Thanks and regards
Eike

-- 
gpg: AD7AC35E
finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to