!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

558 Members
120 Servers

Load older messages


SenderMessageTime
25 Nov 2025
@artturin:matrix.orgArtturinJust updated my raspi and took me 1H to compile everything on r5 5900x19:03:35
@artturin:matrix.orgArtturin* Just updated my raspi and took me 1H to compile everything on r9 5900x19:03:42
@ebnull:matrix.orgebThanks for all the info!19:06:35
@artturin:matrix.orgArtturin

eb:

(
  { config, pkgs, ... }:
  {
    options.nixpkgsNative.pkgs = lib.mkOption {
      type = lib.types.pkgs;
      default = null;
      description = "Native nixpkgs for the system being cross-compiled to get native packages to reduce build amounts";
    };
                                                                                                                         
    config.nixpkgsNative.pkgs = import pkgs.path {
      localSystem = config.nixpkgs.crossSystem;
      inherit (config.nixpkgs) crossSystem config;
    };
                                                                                                                         
  }
)

config.nixpkgsNative.pkgs.mpv-unwrapped

20:51:23
@artturin:matrix.orgArtturinmade this thing so I can pass the native pkgs around without using specialArgs20:51:39
@ebnull:matrix.orgeb

Nice, ty.

I did a similar thing to avoid specialArgs, but with pkgs.unstable as an overlay for nixpkgs-unstable when I needed it downstream for other reasons.

21:51:05
26 Nov 2025
@rick:matrix.ciphernetics.nlRick (Mindavi) joined the room.11:56:47
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/46509221:48:02
27 Nov 2025
@szlend:matrix.orgszlendHow come this is an issue with CGO disabled? It shouldn’t use CC at all07:55:18
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