mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Merge pull request #10556 from nix-windows/uds-remote-on-windows
Enable the `unix://` store on Windows
This commit is contained in:
commit
1948ec390c
11 changed files with 166 additions and 88 deletions
|
|
@ -173,12 +173,13 @@ void initNix(bool loadConfig)
|
|||
everybody. */
|
||||
umask(0022);
|
||||
|
||||
#ifndef _WIN32
|
||||
/* Initialise the PRNG. */
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, 0);
|
||||
#ifndef _WIN32
|
||||
srandom(tv.tv_usec);
|
||||
#endif
|
||||
srand(tv.tv_usec);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue