<{^_^}>
#90284 (by vcunat, 1 hour ago, open): autogen: try fixing on darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
__monty__ has joined #nix-darwin
FRidh has quit [Quit: Konversation terminated!]
philr_ has quit [Ping timeout: 258 seconds]
Chiliparrot has joined #nix-darwin
daGrevis has quit [Ping timeout: 264 seconds]
daGrevis has joined #nix-darwin
Chiliparrot has quit [Ping timeout: 256 seconds]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nix-darwin
philr_ has joined #nix-darwin
Chiliparrot has quit [Ping timeout: 256 seconds]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ncl has quit [Ping timeout: 240 seconds]
ncl has joined #nix-darwin
__monty__ has quit [Quit: leaving]
ncl has quit [Remote host closed the connection]
ncl has joined #nix-darwin
<LambdaDuck>
Has anyone tried using a ramdisk for nix builds on a mac? I have run "diskutil erasevolume HFS+ 'ramdisk' $(hdiutil attach -nomount ram://4096000) && chmod o+wt /Volumes/ramdisk" and added services.nix-daemon.tempDir = "/Volumes/ramdisk/"; to my darwin-configuration.nix, but I get error: while setting up the build environment: opening file
<LambdaDuck>
'/Volumes/ramdisk/nix-build-alex-exe-alex-3.2.5.drv-0/.sandbox.sb': Permission denied when trying to run it
<LambdaDuck>
I solved the problem by creating the ramdisk as root instead of as my own user. (I use the nix daemon)
<LambdaDuck>
The next question would be how to automate the creation of the ramdisk. Is there a standard way of doing stuff like that with darwin-nix?