!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

255 Members
79 Servers

Load older messages


SenderMessageTime
3 Aug 2023
@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
10 Aug 2023
@p14:matrix.orgp14 I want to try and debug the lack of an $AR variable set while building a package without incurring a full rebuild. Is there a good way to turn on tracing (set -x) while all the setup scripts run for nix develop? (context: https://github.com/NixOS/nixpkgs/pull/246577#issuecomment-1672980907) 10:44:44
@artturin:matrix.orgArtturin
In reply to @p14:matrix.org
I want to try and debug the lack of an $AR variable set while building a package without incurring a full rebuild. Is there a good way to turn on tracing (set -x) while all the setup scripts run for nix develop? (context: https://github.com/NixOS/nixpkgs/pull/246577#issuecomment-1672980907)
NIX_DEBUG is the variable used by setup.sh
10:52:12
@artturin:matrix.orgArtturinSet it to 610:52:17
@p14:matrix.orgp14Ah, thanks. I also managed to turn it on directly using preHook = "set -x" which revealed that: /nix/store/9kaazhysw3pmzlrslpb1nsgy97hq8hlm-x86_64-unknown-linux-gnu-llvm-binutils-wrapper-15.0.7/nix-support/setup-hook is empty where /nix/store/kcc44cgi7bclnhgs66v50a1jhr6nsqy5-x86_64-unknown-linux-gnu-llvm-binutils-wrapper-16.0.6/nix-support/setup-hook is 5 kiB10:52:50
@p14:matrix.orgp14and explains the missing $AR.10:53:00
@p14:matrix.orgp14 But the nix-diff of the llvm-binutils wrapper is pretty boring 10:53:40
@p14:matrix.orgp14uuuh, I turned on NIX_DEBUG and now 15.0.7's setup-hook is not empty. Nice..10:59:58
@p14:matrix.orgp14Oh dear. Turning on NIX_DEBUG for the binutils wrapper actually causes debug print output to end up in setup-hook.11:01:43

There are no newer messages yet.


Back to Room ListRoom Version: 9