!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

228 Members
74 Servers

Load older messages


SenderMessageTime
5 Jul 2023
@t4ccer:matrix.orgt4ccer joined the room.17:56:20
@sogled:matrix.orgAtnNn joined the room.18:22:47
@rvdp:infosec.exchangeRamses 🇵🇸 joined the room.22:04:57
10 Jul 2023
@sandro:supersandro.deSandro 🐧FYI https://github.com/NixOS/nixpkgs/pull/24253200:00:13
13 Jul 2023
@vcunat:matrix.orgvcunat changed their display name from @vcunat to vcunat.08:27:40
@sorear:matrix.orgsorear joined the room.23:50:00
14 Jul 2023
@p14:matrix.orgp14

On aarch64-linux, pkgsCross.musl64.pkgsStatic.stdenv stopped being a cache hit sometime around the 26th of May. Sha eb5cd54d0 looks to be the first commit at which it is missing on the nixos-23.05 branch, but the non cross stdenv also broke/stopped being a cache hit then by the looks of things.

Does anyone have any idea why it might have gone missing and can we bring it back… ?

I would also like to have the equivalent, but from x86 to aarch64 cross.

10:55:32
@emilytrau:matrix.orgemilytrau p14: i'm not sure but #exotic:nixos.org might have more active people who could help :) 11:18:39
@p14:matrix.orgp14
In reply to @emilytrau:matrix.org
p14: i'm not sure but #exotic:nixos.org might have more active people who could help :)
Thanks!
11:18:59
@vcunat:matrix.orgvcunat
In reply to @p14:matrix.org

On aarch64-linux, pkgsCross.musl64.pkgsStatic.stdenv stopped being a cache hit sometime around the 26th of May. Sha eb5cd54d0 looks to be the first commit at which it is missing on the nixos-23.05 branch, but the non cross stdenv also broke/stopped being a cache hit then by the looks of things.

Does anyone have any idea why it might have gone missing and can we bring it back… ?

I would also like to have the equivalent, but from x86 to aarch64 cross.

Stable releases currently don't build these. Only nixpkgs master via https://hydra.nixos.org/jobset/nixpkgs/cross-trunk
14:35:29
@vcunat:matrix.orgvcunat(Even stable releases tend to get mass rebuilds every several weeks. Near start even sooner.)14:36:46
@p14:matrix.orgp14 Thank you! That was the missing piece of the puzzle. 14:40:18
@vcunat:matrix.orgvcunat

If there's consensus about this being useful (#cross-compiling:nixos.org I guess), I think it would be fine to have copies of that jobset, active for the currently supported stable branch(es). (I'm on build infra team; ping me to set it up.)

Though on a related note, it seemed like contents of the jobset would benefit from some redesign of content/policy.

14:47:15
16 Jul 2023
@tni:matrix.orgtni joined the room.19:12:03
17 Jul 2023
@trofi:matrix.orgtrofi left the room.06:10:28
22 Jul 2023
@p14:matrix.orgp14

I want to experiment with nixpkgs#pkgsStatic.stdenv.cc.cc, and to that end I'm dropping into a nix develop shell. Unfortunately, gcc has its own builder.sh, so genericBuild doesn't give me a build. And then, running the builder.sh also doesn't work.

genericBuild fails with Makefile:26: *** missing separator. Stop.
and running the builder.sh fails with unpacker appears to have produced no directories, even though it clearly does produce a gcc-12.2.0 directory.

So two questions:

  1. How do I develop nixpkgs#pkgsStatic.stdenv.cc.cc?
  2. How do I reproduce what nix build does, in a nix develop shell, in general? Why doesn't genericBuild or running the builder.sh work here?
10:25:17
@trofi:matrix.orgtrofi joined the room.12:40:25
@trofi:matrix.orgtrofi

As a workaround you can try staging version of it where builder.sh was removed: $ nix develop nixpkgs/staging#pkgsStatic.stdenv.cc.cc.

I think nix develop assumes that $drv.args is -e stdenv/generic/default-builder.sh and sources that. You might be able to sourcce it manually.

nix develop also uses nixpkgs#bashInteractive instead of drv's bash and does many other ad-hoc things: https://github.com/NixOS/nix/blob/master/src/nix/develop.cc#L484

17:34:17
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/24440018:35:28
23 Jul 2023
@emilytrau:matrix.orgemilytrauLooking for opinions and suggestions :) https://github.com/NixOS/nixpkgs/issues/24496604:02:41
@tni:matrix.orgtnican someone help review + merge https://github.com/NixOS/nixpkgs/pull/243595? I'm hoping it can make it into the next staging-next cycle22:28:47
25 Jul 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.01:57:09
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.03:04:36
28 Jul 2023
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/24580701:30:28
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/24590917:42:51
30 Jul 2023
@trofi:matrix.orgtrofiAttempt to fix stomping of multiple parallel strips against the same file under multiple symlinks: https://github.com/NixOS/nixpkgs/pull/24616410:36:58
3 Aug 2023
@cafkafk:nixos.devChristina Sørensen joined the room.05:58:33
@artturin:matrix.orgArtturin

https://github.com/NixOS/nixpkgs/pull/238525

This change adds a flag to update shebang paths that point to the Nix store. This is particularly useful when a cross-compiled package uses same script at compile-time and run-time, but the interpreter must be changed since hostPlatform ≠ buildPlatform.

21:48:07
@raitobezarius:matrix.orgraitobezariusHello there, is there any doc on how to use a cross compiled bootstrap tool to replace the ones that nixpkgs bundles?22:31:44
6 Aug 2023
@vcunat:matrix.orgvcunathttps://github.com/NixOS/nixpkgs/pull/24747807:52:25

Show newer messages


Back to Room ListRoom Version: 9