!VhbWwlUdjHkamKnfrK:nixos.org

Nix: Cloud Native

217 Members
54 Servers

Load older messages


SenderMessageTime
19 Oct 2022
@aktaboot:tchncs.deaktaboot left the room.20:54:35
29 Oct 2022
@seb:the-apothecary.clubTseb joined the room.06:12:19
@uep:matrix.orguep joined the room.06:15:19
@uep:matrix.orguep

Hi folks.. random q. In the past, I've built lambdas for AWS using Rust, and basically the whole image is a zip file with a single "bootstrap" executable that is the runtime (that would normally be responsible for starting a whole python or node or whatever framework).

But of course that executable has dependencies on libc.so in FHS paths, so building that same executable on nixos is more involved.

06:25:04
@uep:matrix.orguep

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
06:26:40
@uep:matrix.orguep *

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
  • patchelf, in the reverse of how we normally use it, to turn store paths into FHS (ugh)
06:28:28
31 Oct 2022
@jake_gillberg:matrix.orgjake_gillbergLambdas also support containers, so a dockerTools approach might be another angle of attack?14:39:44
@tinybronca:sibnsk.netunderpantsgnome changed their display name from underpantsgnome! to underpantsgnome.20:30:28
1 Nov 2022
@uep:matrix.orguep yeah but it's all so much more.. stuff 03:17:19
2 Nov 2022
@claesatwork:matrix.orgClaes joined the room.00:47:52
3 Nov 2022
@jackdk:matrix.orgjackdk
In reply to @uep:matrix.org

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
  • patchelf, in the reverse of how we normally use it, to turn store paths into FHS (ugh)
https://github.com/bellroy/wai-handler-hal/tree/master/wai-handler-hal-example uses haskell.nix to statically link against musl. Not sure if you can make it work for your standard? There are also dockerTools examples there
07:05:50
@jackdk:matrix.orgjackdk
In reply to @uep:matrix.org

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
  • patchelf, in the reverse of how we normally use it, to turn store paths into FHS (ugh)
* https://github.com/bellroy/wai-handler-hal/tree/master/wai-handler-hal-cdk uses haskell.nix to statically link against musl. Not sure if you can make it work for your standard? There are also dockerTools examples there
07:06:22
@uep:matrix.orguepI'm leaning more towards musl as time goes on07:40:25
@ronixx:matrix.orgtheDev.one 🌷 changed their display name from ronixx to 🙃.08:55:24
@ronixx:matrix.orgtheDev.one 🌷 changed their display name from 🙃 to nixie 😎.08:56:36
@ronixx:matrix.orgtheDev.one 🌷 changed their display name from nixie 😎 to nixie 🤓.08:56:55
@ronixx:matrix.orgtheDev.one 🌷 set a profile picture.08:57:27
@andreasfelix:matrix.orgFelix Andreas left the room.14:43:52
@andreasfelix:matrix.orgFelix Andreas joined the room.14:44:08
5 Nov 2022
@asymmetric:matrix.dapp.org.ukasymmetric changed their profile picture.16:21:17
6 Nov 2022
@punctumm:matrix.orgspott joined the room.18:26:16
13 Nov 2022
@nahfe:nahfe.xyzNAHFE joined the room.19:46:28
@nahfe:nahfe.xyzNAHFE left the room.19:46:45
@nahfe:nahfe.xyzNAHFE joined the room.19:46:53
@nahfe:nahfe.xyzNAHFE left the room.19:48:30
15 Nov 2022
@punctumm:matrix.orgspott changed their display name from Andrew Spott to spott.03:30:47
16 Nov 2022
@omlet:matrix.orgomlet joined the room.20:35:42
18 Nov 2022
@asymmetric:matrix.dapp.org.ukasymmetric changed their profile picture.10:10:46
19 Nov 2022
@uny:matrix.orguny left the room.23:02:36
25 Nov 2022
@raphi:tapesoftware.netraphi changed their profile picture.19:41:56

Show newer messages


Back to Room ListRoom Version: 6