!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

398 Members
92 Servers

Load older messages


SenderMessageTime
13 Oct 2024
@artturin:matrix.orgArtturin pkgsCross.armv7l-hf-multiplatform.perl builds on masterix 19:13:51
@artturin:matrix.orgArtturin * pkgsCross.armv7l-hf-multiplatform.perl builds on master 19:13:53
@artturin:matrix.orgArtturin
In reply to @artturin:matrix.org
pkgsCross.armv7l-hf-multiplatform.perl builds on master
*master in my checkout before perl 5.40 at least but it had the same perl version
19:28:11
@artturin:matrix.orgArtturin
In reply to @artturin:matrix.org
pkgsCross.armv7l-hf-multiplatform.perl builds on master
* *master in my checkout before perl 5.40 at least but it had the same perl version as yours
19:29:06
@conbruno:matrix.orgconbrunoThank you. Sorry noob question. The master branch correspond to the latest stable release channel and not to the unstable channel (which is the development branch) right?19:31:51
@artturin:matrix.orgArtturin
In reply to @conbruno:matrix.org
Thank you. Sorry noob question. The master branch correspond to the latest stable release channel and not to the unstable channel (which is the development branch) right?
master as in git master
19:32:07
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#flow-of-merged-pull-requests19:33:25
@conbruno:matrix.orgconbruno Thank you Artturin 19:38:23
@artturin:matrix.orgArtturinWorks on actual master too19:44:32
@artturin:matrix.orgArtturinJust built19:44:38
@conbruno:matrix.orgconbrunoMy build is currently past the perl problem: I just changed the line from: system.stateVersion = "24.05" to system.stateVersion = "unstable";19:45:46
@artturin:matrix.orgArtturinThat shouldn't affect it https://search.nixos.org/options?channel=unstable&show=system.stateVersion&from=0&size=50&sort=relevance&type=packages&query=stateVersion19:47:44
@artturin:matrix.orgArtturinDid you try building the system multiple times?19:49:31
@artturin:matrix.orgArtturinmaybe it was a transient issue19:49:55
@conbruno:matrix.orgconbruno
In reply to @artturin:matrix.org
Did you try building the system multiple times?
No I tried only once, since it took 5h.
19:50:27
@artturin:matrix.orgArtturinMaybe out of memory then19:50:43
@conbruno:matrix.orgconbrunoI never gets bigger than around 32gb and I have 64gb.19:51:39
@conbruno:matrix.orgconbruno... but yeah, it must have been a transient issue if it succeeds this time.19:52:07
@conbruno:matrix.orgconbrunooh wait.19:53:42
@conbruno:matrix.orgconbruno * oh wait, when I wrote that I realised it19:54:12
@conbruno:matrix.orgconbrunoThe WSL Ram " RAM is limited to either 50% of your total memory or 8gb "19:54:42
@conbruno:matrix.orgconbrunoyou are probably right!19:55:04
14 Oct 2024
@reckenrode:matrix.orgRandy EckenrodeI’m looking to package dxmt, which is a mixed native and cross build using Meson. Is there a right way I’m supposed to do that?01:53:32
@artturin:matrix.orgArtturin
In reply to @reckenrode:matrix.org
I’m looking to package dxmt, which is a mixed native and cross build using Meson. Is there a right way I’m supposed to do that?
Use the pkgsCross.X.stdenv and add buildPackages.stdenv.cc to depsBuildBuild
02:08:45
@artturin:matrix.orgArtturin Also check the dxvk "wrapper" https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/dx/dxvk/package.nix 02:10:29
@artturin:matrix.orgArtturinThe things it does probably work for you too02:11:15
@reckenrode:matrix.orgRandy EckenrodeYeah, that’s my package. 😅02:11:38
@reckenrode:matrix.orgRandy Eckenrode I’m trying to avoid doing that since using pkgsCross like that is not supposed to be a good practice. 02:11:53
@reckenrode:matrix.orgRandy Eckenrode I think depsBuildBuild should work. The new SDK stuff supports it, so I should be able to add the 15.0 SDK there as well. 02:12:16
@artturin:matrix.orgArtturinWell you have to get the cross compiler somehow 02:12:42

Show newer messages


Back to Room ListRoom Version: 6