!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

896 Members
182 Servers

Load older messages


SenderMessageTime
15 Nov 2023
@grahamc:nixos.org@grahamc:nixos.org left the room.15:54:38
@qyliss:fairydust.space@qyliss:fairydust.space joined the room.17:10:20
@qyliss:fairydust.space@qyliss:fairydust.space left the room.17:49:42
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:13:14
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:13:14
@eisfunke:eisfunke.com@eisfunke:eisfunke.com changed their profile picture.22:41:03
16 Nov 2023
@linus:schreibt.jetzt@linus:schreibt.jetzt joined the room.05:53:37
@eva:blahaj.nyceva 10:40:28
@captainpip:matrix.orgcaptainpip joined the room.17:37:09
@pedrohlc:ubiquelambda.devpedrohlc ⚡️ joined the room.23:29:52
@pedrohlc:ubiquelambda.devpedrohlc ⚡️ left the room.23:30:52
18 Nov 2023
@anderscs:matrix.organderscs left the room.22:23:26
19 Nov 2023
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (federation borken, may not see reply).03:36:10
@zxgu:matrix.orgZXGU joined the room.10:59:14
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (federation borken, may not see reply) to pbsds.20:39:10
21 Nov 2023
@niksnut:matrix.orgniksnut changed their display name from niksnut to Eelco.16:37:51
@pfz4:zettoit.eupaul / pfz4 left the room.21:24:47
22 Nov 2023
@withoutwithin:matrix.org@withoutwithin:matrix.org changed their profile picture.03:43:35
@zarel_it:matrix.org@zarel_it:matrix.org joined the room.09:36:16
23 Nov 2023
@flyx:klacker.euflyxcan I use Nix Flakes purely as a solution for remote compiling? like, my (otherwise Nix-less) project requires me to build it on a remote machine and I have some hacky rsync-up---compile---rsync-down script which I want to replace with something more sensible, and Nix provides remote building capabilities. so if I write an impure Flake that just calls the system compiler and doesn’t use any Nix features, would this be a feasible solution for remote compiling?16:01:09
@tomberek:matrix.orgtomberekThe remote build system is powerful, but doing this and breaking out of the sandbox in a safe way will take some care. But yes, this can be done; I used this as a quick data transformation engine orchestrated by Hydra, you just gotta be careful and ensure you end up with the properties you want. 16:44:21
@flyx:klacker.euflyxwould it transfer my entire repository every time I change something and build, or does it do some caching? the repo is >1GB so this would be an important property16:50:12
@tomberek:matrix.orgtomberekRemote builders would only transfer what is in the drv closure; the build closure. Now this can easily and often does include the source repo if you ever do something like "src= ./. ;" You can do another trick which is to have your runners reference your build via a git-based flakes, thus caching your repo if that is what you want, again need to be careful with ref/rev/allRefs and auth. 17:02:43
@flyx:klacker.euflyxreferencing the git wouldn't be what I want, I can do that already with CI. I specifically want to build my local dirty state. thats for the infos, I'll evaluate if I can work around having everything in the drv closure17:09:46
@tomberek:matrix.orgtomberekOkay. Another trick is to depend on a subdirectory. It means another local copy, but less is transferred as a drv dependency. 17:22:33
@ThorHop:matrix.org@ThorHop:matrix.org changed their display name from hopland (flaky frank) to hopland (evil entrepeneur).17:31:03
@ThorHop:matrix.org@ThorHop:matrix.org changed their display name from hopland (evil entrepeneur) to hopland (nixpkgs-rolling when).18:25:43
24 Nov 2023
@alper-celik:matrix.org@alper-celik:matrix.org left the room.14:43:23
@jassu:kumma.juttu.asiaJassuko
In reply to @tomberek:matrix.org
The remote build system is powerful, but doing this and breaking out of the sandbox in a safe way will take some care. But yes, this can be done; I used this as a quick data transformation engine orchestrated by Hydra, you just gotta be careful and ensure you end up with the properties you want.
Would you happen to have that hydra setup’s flake / nix somewhere public? I have wanted to try something similar, but I’m still too much of a Nix n00b to figure out anything but very basics on my own.  
22:45:13
@tomberek:matrix.orgtomberekSadly no, that was proprietary for a geospatial data processor. But the basics concept was to turn on the "sandbox = relaxed" option and then certain derivations specializing in the out-of-bounds access would have "__noChroot".23:30:09

Show newer messages


Back to Room ListRoom Version: 6