!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

213 Members
68 Servers

Load older messages


SenderMessageTime
15 Apr 2025
@k900:0upti.meK900There's no well established process here07:48:31
@k900:0upti.meK900Adding new targets is not exactly common07:48:36
@qyliss:fairydust.spaceAlyssa RossThere kind of is07:48:37
@qyliss:fairydust.spaceAlyssa RossLet me see if I can find an example07:48:43
@k900:0upti.meK900 Well there is some process 07:48:45
@k900:0upti.meK900But I would not call it well established07:49:28
@qyliss:fairydust.spaceAlyssa RossFirst step is to add your platform to pkgs/stdenv/linux/make-bootstrap-tolos-cross.nix07:57:06
@qyliss:fairydust.spaceAlyssa Ross * 07:57:19
@qyliss:fairydust.spaceAlyssa Ross

Once that's done, the bootstrap tarball needs to be uploaded to tarballs.nixos.org. To do that, open a draft PR adding the bootstrap tarball in pkgs/stdenv/linux/bootstrap-files, then fill in the form as used on https://github.com/NixOS/nixpkgs/pull/283492 (everything after "So, following the script established by previous bootstrap tools updates:"). Then you need to get somebody who has access to S3 to reproduce and upload the tarball. In the past that's been lovesegfault — not sure whether anybody else can do it now.

08:03:23
@qyliss:fairydust.spaceAlyssa RossOnce that's done, your PR can be merged, and we'll have a bootstrap for your platform.08:03:53
@k900:0upti.meK900 I believe @hexa has access now 08:03:59
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Sure, I'll try that08:11:46
@qyliss:fairydust.spaceAlyssa RossFeel free to request my review on the make-bootstrap-tools-cross.nix PR08:12:42
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @qyliss:fairydust.space

Once that's done, the bootstrap tarball needs to be uploaded to tarballs.nixos.org. To do that, open a draft PR adding the bootstrap tarball in pkgs/stdenv/linux/bootstrap-files, then fill in the form as used on https://github.com/NixOS/nixpkgs/pull/283492 (everything after "So, following the script established by previous bootstrap tools updates:"). Then you need to get somebody who has access to S3 to reproduce and upload the tarball. In the past that's been lovesegfault — not sure whether anybody else can do it now.

So I still have to build the first tarball on hydra?
08:37:37
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)I don't have any permission on hydra yet08:37:49
@k900:0upti.meK900It should happen automatically with the next channel update08:38:03
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Oh, I misunderstood that.08:40:06
@qyliss:fairydust.spaceAlyssa RossOh yeah I forgot to actually say that08:43:36
@trofi:matrix.org@trofi:matrix.orgI think https://github.com/NixOS/nixpkgs/tree/master/maintainers/scripts/bootstrap-files#how-to-add-bootstrap-files-for-a-new-target should cover it12:30:53
@rosscomputerguy:matrix.orgTristan Ross
In reply to @qyliss:fairydust.space
Once that's done, your PR can be merged, and we'll have a bootstrap for your platform.
Might not be a bad idea to formalize the documentation on that for easier future reference.
14:09:26
@qyliss:fairydust.spaceAlyssa RossIf anybody wants to they're very welcome to adapt my write-up therr14:10:18
@qyliss:fairydust.spaceAlyssa Ross * 14:10:27
@emilazy:matrix.orgemilyisn't that what ^ is?14:10:52
@rosscomputerguy:matrix.orgTristan RossOh, I'm still waking up and didn't see everything lol14:11:37
16 Apr 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)I've got the first stumbling block08:43:59
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)https://github.com/loongson-community/discussions/issues/2908:43:59
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)glibc on loongarch64 doesn't provide a libutil.so but our stdenv-bootstrap-tools requires one08:44:51
@qyliss:fairydust.spaceAlyssa RossWe should be able to just drop that from all bootstrap tools08:45:04
@qyliss:fairydust.spaceAlyssa Ross(All Glibc bootstrap tools)08:45:15
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @qyliss:fairydust.space
We should be able to just drop that from all bootstrap tools
But what about the final native glibc on loongarch64? Do we just leave it as is?
08:47:53

Show newer messages


Back to Room ListRoom Version: 9