!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

222 Members
72 Servers

Load older messages


SenderMessageTime
20 Apr 2025
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)
In reply to @aleksana:mozilla.org
Does this override already existed throws?
Just realized this doesn't change the current behavior
16:27:04
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)The removed notice also isn't there when allowAliases = false16:27:34
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)So it would still be an easy win16:28:15
@rosscomputerguy:matrix.orgTristan RossYeah, it just basically makes it a "not available" error lol16:29:06
@rosscomputerguy:matrix.orgTristan Ross I wanted to move pkgsCross to variants but it seems necessary for a good chunk of nixpkgs lol 16:30:36
@qyliss:fairydust.spaceAlyssa RossUnfortunately :(16:31:01
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)
In reply to @rosscomputerguy:matrix.org
I wanted to move pkgsCross to variants but it seems necessary for a good chunk of nixpkgs lol
What is it used for?
16:31:11
@qyliss:fairydust.spaceAlyssa RosspkgsStatic should be easy to excise though, from having looked prevoously16:31:18
@rosscomputerguy:matrix.orgTristan Ross A bunch of packages use it for tests, others will pull things from pkgsCross of a different system and add it in 16:31:45
@rosscomputerguy:matrix.orgTristan Ross Take a look at pkgs/servers/http/apache-httpd/2.4.nix lol 16:32:11
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)
In reply to @rosscomputerguy:matrix.org
A bunch of packages use it for tests, others will pull things from pkgsCross of a different system and add it in
Oh, I made hello-go
16:32:13
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)It can cross compile without bothering the whole cross toolchain16:32:38
@rosscomputerguy:matrix.orgTristan Ross The tests will be easy because we can just lib.optionalAttrs (config.allowVariants) 16:32:42
@rosscomputerguy:matrix.orgTristan Ross We can move stuff over after the PR and eventually disable allowVariants for CI. I didn't want to break anything for 25.05. But this does add a release notes entry so people should know that this is coming. 16:34:11
@rosscomputerguy:matrix.orgTristan Ross
pkgs/top-level/all-packages.nix:    hello-x86_64 = if stdenv.hostPlatform.isx86_64 then hello else pkgsCross.gnu64.hello;
pkgs/top-level/all-packages.nix:        hello-x86_32 = if stdenv.hostPlatform.isx86_32 then hello else pkgsCross.gnu32.hello;
pkgs/top-level/all-packages.nix:      pkgsCross.gnu32.callPackage ../applications/emulators/box86 args
pkgs/top-level/all-packages.nix:      pkgsCross.armv7l-hf-multiplatform.callPackage ../applications/emulators/box86 args
pkgs/top-level/all-packages.nix:  #     pkgsCross.aarch64-multiplatform.freshBootstrapTools.build
pkgs/top-level/all-packages.nix:    gccCross = pkgsCross.ben-nanonote.buildPackages.gccWithoutTargetLibc;
pkgs/top-level/all-packages.nix:    avrgcc = pkgsCross.avr.buildPackages.gcc;
pkgs/top-level/all-packages.nix:    avrlibc = pkgsCross.avr.libcCross;
pkgs/top-level/all-packages.nix:    gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc;
pkgs/top-level/all-packages.nix:    binutils-arm-embedded = pkgsCross.arm-embedded.buildPackages.binutils;

What...

16:34:48
@rosscomputerguy:matrix.orgTristan Ross

Yeah, I think that's good. We can do something like this:

  • Merge the optional overlay PR
  • Go through and make a tree-wide PR for each nixpkgs variant to move things over the best we can (we'll probably have like 4 PR's lol)
  • Disable allowVariants in CI
16:39:15
@rosscomputerguy:matrix.orgTristan Ross pkgsStatic definitely looks easy 16:39:25
@rosscomputerguy:matrix.orgTristan Ross Oh good, nobody consumes pkgsLLVM in nixpkgs 16:39:43
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)
In reply to @rosscomputerguy:matrix.org
Oh good, nobody consumes pkgsLLVM in nixpkgs
Nobody cares about pkgsLLVM except...
16:42:32
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)😈16:42:45
@rosscomputerguy:matrix.orgTristan Ross🤔16:43:14
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC) @[Tristan Ross] I think for the two PRs of mine, if the next staging-next rebuilds the world, we let it in, otherwise we wait until branch off 16:48:04
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)So we don't waste anything16:48:17
@rosscomputerguy:matrix.orgTristan Ross
In reply to @aleksana:mozilla.org
@[Tristan Ross] I think for the two PRs of mine, if the next staging-next rebuilds the world, we let it in, otherwise we wait until branch off
I think that sounds fine
16:50:23
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)If we don't fix it at all, people would not be able to create new bootstrap tarballs for exotic architectures following our guide, which can be considered as a regression caused by gcc14 update16:53:19
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC)* If we don't fix it at all, people would not be able to use new bootstrap tarballs for exotic architectures following our guide, which can be considered as a regression caused by gcc14 update16:54:07
@emilazy:matrix.orgemily -next is pretty much guaranteed to rebuild the world 17:00:04
@emilazy:matrix.orgemily it's likely there are already stdenv rebuilds in staging 17:00:17
@emilazy:matrix.orgemilycertainly I'm going to add one for Darwin ASAP17:00:24
@rosscomputerguy:matrix.orgTristan RossI remember doing a tall at Planet Nix about the different channels but I forget what they each do lol.17:01:47

Show newer messages


Back to Room ListRoom Version: 9