stdenv: add uutils-coreutils stdenv #2#407301
stdenv: add uutils-coreutils stdenv #2#407301SuperSandro2000 wants to merge 4 commits intoNixOS:stagingfrom
Conversation
|
Fails nixpkgs vet |
|
I don't plan to move coreutils, so I am currently planning to just ignore that one time 😅 |
Ericson2314
left a comment
There was a problem hiding this comment.
Please test cross compilation of this first. It doesn't look to me like you have yet?
| uutils-coreutils = pkgs.uutils-coreutils-minimal; | ||
| bintools = wrapBintoolsWith { | ||
| bintools = stdenv.cc.bintools.bintools; | ||
| coreutils = uutils-coreutils; |
There was a problem hiding this comment.
| coreutils = uutils-coreutils; | |
| coreutils = buildPackages.uutils-coreutils; |
| in | ||
| stdenv.override { | ||
| cc = stdenv.cc.override { | ||
| coreutils = uutils-coreutils; |
There was a problem hiding this comment.
| coreutils = uutils-coreutils; | |
| coreutils = buildPackages.uutils-coreutils; |
| inherit bintools; | ||
| }; | ||
|
|
||
| initialPath = (lib.remove coreutils stdenv.initialPath) ++ [ uutils-coreutils ]; |
There was a problem hiding this comment.
| initialPath = (lib.remove coreutils stdenv.initialPath) ++ [ uutils-coreutils ]; | |
| initialPath = (lib.remove buildPackages.coreutils stdenv.initialPath) ++ [ buildPackages.uutils-coreutils ]; |
| (lib.remove [ | ||
| bintools | ||
| expand-response-params | ||
| coreutils | ||
| ] rs) | ||
| ++ [ | ||
| bintools | ||
| expand-response-params | ||
| uutils-coreutils | ||
| ] |
There was a problem hiding this comment.
| (lib.remove [ | |
| bintools | |
| expand-response-params | |
| coreutils | |
| ] rs) | |
| ++ [ | |
| bintools | |
| expand-response-params | |
| uutils-coreutils | |
| ] | |
| (lib.remove [ | |
| buildPackages.bintools | |
| buildPackages.expand-response-params | |
| buildPackages.coreutils | |
| ] rs) | |
| ++ [ | |
| buildPackages.bintools | |
| buildPackages.expand-response-params | |
| buildPackages.uutils-coreutils | |
| ] |
No, I haven't at all 😅 |
|
What problem does this address? What's the motivation? |
|
@SuperSandro2000 please add the comments to help with cross. |
|
Hopefully my suggestions are sufficient, but we'll see |
|
|
Note the failure I am talking about it is not cross-compiling uutils-coreutils, but cross compiling with (native, at build time) uutils-coreutils. |
|
This needs a rebase. |
|
In particular, variants are now moved out of pkgs/top-level/stage.nix, see #400351 |
see #116274
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.