!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
126 Servers

Load older messages


SenderMessageTime
22 Feb 2026
@oakenpearl15:matrix.orgOaken joined the room.02:54:21
@slushee:crabsin.spaceSlushee changed their profile picture.20:30:27
@slushee:crabsin.spaceSlushee changed their profile picture.23:03:42
23 Feb 2026
@theo-paris:matrix.orgTheo Paris

Not sure if this is the right place for this but:
I was testing github.com/NixOS/nixpkgs/pull/463361 with a nixos config flake using

  nixpkgs.localSystem = {
    system = "x86_64-linux";
    useLLVM = true;
    linker = "lld";
  };

And I ran into the following error:


       … while evaluating the option `home-manager.users.theo.i18n.glibcLocales':

       … while evaluating the option `i18n.glibcLocales':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: function 'anonymous lambda' called with unexpected argument 'nativeBuildInputs'
       at /nix/store/hq30166l4qc2l2va8v4lj9fyg894wdqs-source/pkgs/build-support/fetchurl/boot.nix:10:1:
            9|
           10| {
             | ^
           11|   url ? builtins.head urls,
00:58:11
@theo-paris:matrix.orgTheo ParisIt seems like it should work with crossSystem but that adds gcc's bootstrap to the mix as well as llvm00:58:45
@theo-paris:matrix.orgTheo Paris* It seems like it should work with crossSystem but that adds gcc's bootstrap to the mix as well as llvm - I just wanted to have a "(mostly) pure llvm" system.00:59:16
@theo-paris:matrix.orgTheo Paris* It seems like it should work with crossSystem but that adds the host gcc bootstrap to the mix as well as llvm - I just wanted to have a "(mostly) pure llvm" system.00:59:32
@theo-paris:matrix.orgTheo ParisI'm not even sure where to start to attempt to fix this issue... I could try adding nativeBuildInputs or removeAttrs but I'm not sure if those are the right solutions01:00:37
@artturin:matrix.orgArtturin
In reply to @theo-paris:matrix.org

Not sure if this is the right place for this but:
I was testing github.com/NixOS/nixpkgs/pull/463361 with a nixos config flake using

  nixpkgs.localSystem = {
    system = "x86_64-linux";
    useLLVM = true;
    linker = "lld";
  };

And I ran into the following error:


       … while evaluating the option `home-manager.users.theo.i18n.glibcLocales':

       … while evaluating the option `i18n.glibcLocales':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: function 'anonymous lambda' called with unexpected argument 'nativeBuildInputs'
       at /nix/store/hq30166l4qc2l2va8v4lj9fyg894wdqs-source/pkgs/build-support/fetchurl/boot.nix:10:1:
            9|
           10| {
             | ^
           11|   url ? builtins.head urls,

That's a common symptom of bootstrap issues
The bootstrap fetchurl is used in a place where the full fetchurl should be used.
It's not an issue in fetchurl itself

https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchurl/boot.nix

01:34:32
23 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".12:31:03
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".12:31:03
@grahamc:nixos.org@grahamc:nixos.org invited @qyliss:fairydust.spaceAlyssa Ross.12:31:18
@qyliss:fairydust.spaceAlyssa Ross joined the room.13:21:04
@symphorien:xlumurb.eusymphorien joined the room.13:29:22
@joe:monoid.aljoe joined the room.13:29:32
@cleverca22:matrix.orgcleverca22 joined the room.13:29:44
@andi:kack.itandi- joined the room.13:36:08
@sternenseemann:systemli.orgsterni joined the room.13:39:12
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.14:52:21
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ joined the room.14:52:24
@thefloweringash:matrix.orgthefloweringash joined the room.14:52:43
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ changed their profile picture.18:30:44
@maljub01:matrix.orgmaljub01 joined the room.20:05:19
@colemickens:matrix.orgcolemickens 🏳️‍🌈 joined the room.21:50:09
24 May 2021
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.03:05:08
@rajivr:matrix.orgrajivr joined the room.03:35:42
@kunrooted:matrix.orgkunrooted joined the room.05:17:10
@aaronjanse:matrix.orgaaronjanse joined the room.07:04:03
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ joined the room.07:13:18
@tomferon:mozilla.orgtomferon joined the room.07:49:11

Show newer messages


Back to Room ListRoom Version: 6