Skip to content

Build for toolchains for CloudABI / WASI #59285

Open

Description

@Ericson2314

https://cloudabi.org/ is a cap-safe "censored POSIX". (https://lwn.net/Articles/674770/ is a good secondary source.) It would be nice if Nixpkgs could cross compiler to this platform. While mainstream software has been ported to run on this platform (https://github.com/NuxiNL/cloudabi-ports), since it is a not standard Unixish, packages shouldn't be expected to work out of the box. Therefore Nixpkgs ought to support it as it does embedded platforms: building toolchains should work (though they aren't cached), but nothing else is supported.

I'm mainly interested in this so we can cross compile [a ported] Nix to that platform (NixOS/nix#2759) so various experiments can take place.

Activity

  1. added
    6.topic: cross-compilation
    on Apr 10, 2019
  2. edolstra commented on Apr 11, 2019

    @edolstra
    Member

    Discussing whether to add support for another platform (especially a non-POSIX platform) is best done via an RFC. A quick look at the number of patches at https://github.com/NuxiNL/cloudabi-ports/tree/master/packages suggests that the overhead in supporting this platform would be considerable.

  3. Ericson2314 commented on Apr 11, 2019

    @Ericson2314
    MemberAuthor

    best done via an RFC

    I'm hoping we end up, per NixOS/rfcs#31 (comment), doing just 1 RFC to establish the criteria for supporting any platform.

    suggests that the overhead in supporting this platform would be considerable.

    Yes it will be, which is why I suggest treat it like an embedded platform and make no effort to build packages on that platform, just tools for that platform.

    Hopefully that RFC, in pivoting to define the criteria for supporting platforms, defines the "embedded platform level of support" precisely.

  4. changed the title [-]Build for CloudABI[/-] [+]Build for CloudABI / WASI[/+] on Apr 11, 2019
  5. changed the title [-]Build for CloudABI / WASI[/-] [+]Build for toolchains CloudABI / WASI[/+] on Apr 11, 2019
  6. changed the title [-]Build for toolchains CloudABI / WASI[/-] [+]Build for toolchains for CloudABI / WASI[/+] on Apr 11, 2019
  7. stale commented on Jun 3, 2020

    @stale

    Thank you for your contributions.

    This has been automatically marked as stale because it has had no activity for 180 days.

    If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

    Here are suggestions that might help resolve this more quickly:

    1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
    2. Ask on the NixOS Discourse.
    3. Ask on the #nixos channel on irc.freenode.net.
  8. added
    2.status: stale
    on Jun 3, 2020
  9. Ericson2314 commented on Jun 4, 2020

    @Ericson2314
    MemberAuthor

    Yeah, it would be still nice to do this.

  10. removed
    2.status: stale
    on Jun 4, 2020
  11. stale commented on Jun 5, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  12. added
    2.status: stale
    on Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stale6.topic: cross-compilation6.topic: exotic

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions