!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

228 Members
74 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
20 Mar 2025
@k900:0upti.meK900Also, no, Nix does not provide a busybox shell17:18:51
@k900:0upti.meK900Nix provides whatever shell it's configured with at build time17:18:59
@k900:0upti.meK900Which in case of Nixpkgs nix is a Nixpkgs shell17:19:09
@k900:0upti.meK900Which makes this whole idea weirdly mutually recursive17:19:17
@k900:0upti.meK900You want easier bootstrapping, we have minimal bootstrap for that17:19:31
@philiptaron:matrix.orgPhilip Taron (UTC-8)(To be clear, this was a "I want to play around with this cursed thing in order to learn" not a serious proposal for how to do it.)17:21:36
@philiptaron:matrix.orgPhilip Taron (UTC-8) * (To be clear, this was a "I want to play around with this cursed thing in order to learn" not a serious proposal for how to do it in nixpkgs production.) 17:22:37
@philiptaron:matrix.orgPhilip Taron (UTC-8)Previous experimentation: https://determinate.systems/posts/nuenv/17:23:23
@rosscomputerguy:matrix.orgTristan RossThere's a reason why I mentioned "concept"17:24:25
@rosscomputerguy:matrix.orgTristan Ross We don't have to fully implement it but it could be an interesting thing to show what is capable 17:24:53
@philiptaron:matrix.orgPhilip Taron (UTC-8)

Other related proposals that involve shipping computational machinery with Nix:

  1. System-agnostic builders
  2. Nix on WASI
  3. libnixstore-pure
17:26:16
@philiptaron:matrix.orgPhilip Taron (UTC-8) Yes, and I believe it's wired through to provide busybox-sandbox-shell specifically. Is that incorrect? 17:34:10
@k900:0upti.meK900Yes, but that is not magically there, it needs to be bootstrapped17:34:59
@k900:0upti.meK900And on whatever host you're bootstrapping from, it can be something else entirely17:35:14
@k900:0upti.meK900So it should not be relied on17:35:18
@rosscomputerguy:matrix.orgTristan RossThat's fair, though for exploring this concept I don't think that'd have an impact with native.17:38:27
@rosscomputerguy:matrix.orgTristan Ross Splitting up lib.systems, likely will be organized into a few different PR's based on what is being touched. Once the feature lands, I'd like to start wiring up the linker to work. 18:42:16
@rosscomputerguy:matrix.orgTristan Ross I've been thinking that it'd be nice to be able to override lib.systems to be able to change a lot of it. Like if someone wants to add a new platform, it could be done there without a PR. It should be possible to implement new platforms with overlays. Obviously, if someone wants to upstream that work then it should be possible. 19:59:32
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de) joined the room.20:12:15

Show newer messages


Back to Room ListRoom Version: 9