Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1cd300e57b35
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f435272ce351
Choose a head ref
  • 3 commits
  • 7 files changed
  • 1 contributor

Commits on Nov 30, 2018

  1. systems/examples.nix: move riscv function to let binding

    Makes it easier to use mapAttrs with lib.systems.examples. Now every
    entry in it are legitimate systems.
    matthewbauer committed Nov 30, 2018
    Copy the full SHA
    ce6d558 View commit details
  2. 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.
    matthewbauer committed Nov 30, 2018
    Copy the full SHA
    9c8fd41 View commit details
  3. Merge pull request #50212 from matthewbauer/host-emulator

    Add "emulator" function to systems
    matthewbauer authored Nov 30, 2018
    Copy the full SHA
    f435272 View commit details
Loading