| Commit message (Expand) | Author | Age | Files | Lines |
| * | tests.cross.sanity: fix eval•••`qt5` is not long for the world.
| Philip Taron | 2025-09-13 | 1 | -2/+2 |
| * | treewide: run nixfmt 1.0.0 | Wolfgang Walther | 2025-07-24 | 1 | -34/+33 |
| * | tests.cross.{gcc,llvm}.*: don't recurse into•••Makes the ci get killed by OOM
| jopejoe1 | 2025-05-13 | 1 | -1/+1 |
| * | tests: recurse into more attrs•••This makes it so that our ci evals more tests and that hydra builds them, making it possible to catch more regressions.
| jopejoe1 | 2025-05-13 | 1 | -24/+30 |
| * | treewide: format all inactive Nix files•••After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
--argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
| Silvan Mosberger | 2024-12-10 | 1 | -123/+173 |
| * | tests.cross.sanity: Add GHC to catch regressions•••This is to ensure that Haskell users on platforms that lack official
bindists still have a convenient means of getting GHC running natively.
In my admittedly somewhat limited testing on RISC-V, GHC 8.10.7 is able
to bootstrap native builds for 9.2.8 and 9.4.5. GHC 9.2.8 and 9.4.5 are
unable to bootstrap themselves and 9.6.2 when cross-compiled.
If you're looking at this commit to see whether you can safely upgrade
the compiler used here to remove 8.10, please try cross-compiling 9.0 or
later and then booting a native GHC with it.
| Alex Tunstall | 2024-09-08 | 1 | -0/+2 |
| * | tests.cross.sanity: fix eval by fixing `qt5.qutebrowser` reference•••Without the change the eval fails as:
$ nix build --no-link -f. tests.cross.sanity
error: attribute 'qutebrowser' missing
at pkgs/test/cross/default.nix:157:5:
156| # Two web browsers -- exercises almost the entire packageset
157| pkgs.pkgsCross.aarch64-multiplatform.qt5.qutebrowser
| ^
158| pkgs.pkgsCross.aarch64-multiplatform.firefox
| Sergei Trofimovich | 2024-01-25 | 1 | -1/+1 |
| * | tests.cross.sanity: add test case for #267859•••This commit adds pkgs.spike, which internally uses
pkgsCross.riscv64-embedded.stdenv.cc, as a test case for the issue
reported in https://github.com/NixOS/nixpkgs/issues/267859
| Adam Joseph | 2023-11-16 | 1 | -0/+3 |
| * | test.cross.sanity: add qt5.qutebrowser, firefox | Adam Joseph | 2023-11-05 | 1 | -0/+4 |
| * | lib.systems, test.cross.sanity: add test case for #264989•••We have several cross-compilation bugs that show up if
hostPlatform!=buildPlatform yet
hostPlatform.config==buildPlatform.config.
These bugs have appeared and disappeared as we've fiddled with the
definition of equality for platform objects. This commit adds a
clear-cut case where they are *not* equal and never will be, so we
can test it.
| Adam Joseph | 2023-11-04 | 1 | -0/+1 |
| * | tests: fix eval failures | Artturin | 2023-11-04 | 1 | -4/+4 |
| * | tests.cross.sanity: add pkgs.pkgsMusl.pkgsCross.gnu64.hello (#262876) | Adam Joseph | 2023-11-03 | 1 | -0/+6 |
| * | gcc: create dummy crtstuff on S390 as well•••This commit replicates the fix in
https://github.com/NixOS/nixpkgs/pull/258032 for S390 as well.
Co-authored-by: Artturi <Artturin@artturin.com>
| Adam Joseph | 2023-10-25 | 1 | -0/+1 |
| * | tests.cross.sanity: add armv5tel and armv6l | Adam Joseph | 2023-08-15 | 1 | -0/+2 |
| * | tests.cross.sanity: enable mbuffer test•••This test passes now. Also fixes a minor oversight in the bug --
the test case needs to `touch $out` on success.
| Adam Joseph | 2023-08-14 | 1 | -1/+2 |
| * | libgcc: make needed architecture-specific targets if isArmv7 | Adam Joseph | 2023-08-14 | 1 | -0/+1 |
| * | gccWithoutTargetLibc: link libgcc_s.so using -mnewlib if isPower•••Closes #244405
Also adds considerably more commenting to document what is going on.
| Adam Joseph | 2023-07-06 | 1 | -1/+1 |
| * | test.cross.sanity: add pkgs.pkgsCross.m68k.stdenv | Adam Joseph | 2023-07-01 | 1 | -0/+1 |
| * | test.cross.sanity: init•••This commit adds `pkgs.test.cross.sanity`, which is meant to be a
carefully curated list of builds/packages that tend to break when
refactoring our cross-compilation infrastructure.
It should strike a balance between being small enough to fit in
a single eval (i.e. not so large that hydra-eval-jobs is needed)
so we can ask @ofborg to check it, yet should have good examples
of things that often break. So, no buckshot `mapTestOnCross`
calls here.
| Adam Joseph | 2023-07-01 | 1 | -4/+30 |
| * | test.cross.mbuffer: init•••This adds a test case for the tricky issue encountered in
https://github.com/NixOS/nixpkgs/issues/213453
| Adam Joseph | 2023-06-30 | 1 | -0/+10 |
| * | treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform | Artturin | 2023-01-09 | 1 | -2/+2 |
| * | pkg-config-wrapper: Init•••This fixes longstanding build issues
| John Ericson | 2020-05-16 | 1 | -0/+14 |
| * | cross/tests: Use `crossPkgs.runCommand` so we have `strictDeps` | John Ericson | 2020-05-16 | 1 | -1/+1 |
| * | wasm: init cross target•••Adds pkgsCross.wasm32 and pkgsCross.wasm64. Use it to build Nixpkgs
with a WebAssembly toolchain.
stdenv/cross: use static overlay on isWasm
isWasm doesn’t make sense dynamically linked.
| Matthew Bauer | 2019-04-23 | 1 | -5/+4 |
| * | cross/tests: add llvm-based tests | Matthew Bauer | 2019-02-26 | 1 | -20/+24 |
| * | llvm: support cross compilation with useLLVM flag•••You can build (partially) with LLVM toolchain using the useLLVM flag.
This works like so:
nix-build -A hello --arg crossSystem '{ system =
"aarch64-unknown-linux-musl"; useLLVM = true }'
also don’t separate debug info in lldClang
It doesn’t work currently with that setup hook. Missing build-id?
| Matthew Bauer | 2019-02-26 | 1 | -0/+6 |
| * | treewide: add emulator to platform•••You can use stdenv.hostPlatform.emulator to get an executable that
runs cross-built binaries. This could be any emulator. For instance,
we use QEMU to emulate Linux targets and Wine to emulate Windows
targets. To work with qemu, we need to support custom targets.
I’ve reworked the cross tests in pkgs/test/cross to use this
functionality.
Also, I’ve used talloc to cross-execute with the emulator. There
appears to be a cross-execute for all waf builds. In the future, it
would be nice to set this for all waf builds.
Adds stdenv.hostPlatform.qemuArch attrbute to get the qemuArch for
each platform.
| Matthew Bauer | 2018-11-29 | 1 | -26/+36 |
| * | tests: add some cross tests | Matthew Bauer | 2018-07-21 | 1 | -0/+80 |