Revert "e2fsprogs: build fuse2fs on darwin"#339412
Conversation
|
It seems like that PR hasn’t actually made it to |
This change, while fine in isolation, breaks evaluation in combination with <NixOS#329721>, as `xar` depends on `e2fsprogs` which now depends on `macfuse-stubs` which depends on `xar`. This broke `staging-next`. A couple possible solutions are to disable the `e2fsprogs` dependency in the version of `xar` used for the bootstrap, or to build `macfuse-stubs` from source to avoid the `xar` dependency. This reverts commit 0dfc820.
7f11258 to
8f61973
Compare
|
Okay, the commit landed in |
|
Or |
|
No, the relevant part of macFUSE is LGPL, as noted in our package definition for the stubs; here’s the repository. If it was non‐free the PR would have been a bigger issue as it would have made
Sorry about the quick revert, but we needed to fix eval on |
|
Regardless of the macFUSE issue, the stdenv bootstrap probably shouldn’t include e2fsprogs. It’s fine for now, but I’ll probably include in the Darwin refactor using a stripped down xar for cctools and ld64. One of my goals for the bootstrap is reducing the amount of unnecessary stuff that’s built (e.g., 24.05 builds Python five times during the bootstrap, but the refactor builds it only once). Using a xarMinimal is in line with that. I wonder if xarMinimal be a top-level package? |
|
We’ve circled back around to #329721 (comment) here. I agree that we should just gate the problematic dependencies behind a single feature flag and use that for the compiler tools. |
|
Did you agree on preferred solution? |
|
We decided that That would break the circular dependency here by itself, but |
|
Is there anything I can help with? Just wondering how I can get my PR back) |
|
So the problem is that because of the The only thing I can think that we could do in the interim is to add a default‐on flag to Work that would be good for the future but wouldn’t immediately solve this would be to build the macFUSE stubs from source, perhaps even reusing the same derivation that is used for Sorry about this unfortunate collision of changes… |
|
Ah, I see now, because So after In the meantime I'll try to look into building |
|
Yes, it should be fine to revert the revert after the I think that we don’t want |
|
Status update on the xarMinimal stuff. I’m working to get the draft PR for the Darwin rework up sometime tonight. It will include xarMinimal along with an update of xar to 501, which adds a new API (and then immediately deprecates it). |
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin. See NixOS#339412.
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin. See #339412.
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin. See NixOS#339412.
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin. See #339412.
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin. See #339412.
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin. See #339412.
Description of changes
This change, while fine in isolation, breaks evaluation in combination with #329721, as
xardepends one2fsprogswhich now depends onmacfuse-stubswhich depends onxar. This brokestaging-next.A couple possible solutions are to disable the
e2fsprogsdependency in the version ofxarused for the bootstrap, or to buildmacfuse-stubsfrom source to avoid thexardependency.This reverts commit 0dfc820.
cc @KoHcoJlb @7c6f434c @tie @reckenrode
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.