summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2024-12-09 20:04:11 +0200
committerArtturin <Artturin@artturin.com>2024-12-12 21:09:56 +0200
commit764c99481a7d26b44aedfb61b0bc17cfa2d95e4a (patch)
treef1838594bdaf8e044ee874d2825a0accaf4c2e0f /pkgs/development/python-modules/rangehttpserver
parentc9b3b5de62425be792ecbdc232f38a762ee95311 (diff)
lib/tests/release.nix: Fix build if `impure.nix` returns a cross pkgs
In https://www.github.com/NixOS/nixpkgs/pull/341067 `ofborg-eval-lib-tests` fails because it uses `pkgsHostTarget` of the cross pkgs ```diff diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix index 4d847e280f4b..7f0099b254f0 100644 --- a/pkgs/top-level/impure.nix +++ b/pkgs/top-level/impure.nix @@ -86,4 +86,6 @@ assert args ? system -> !(args ? localSystem); import ./. (builtins.removeAttrs args [ "system" ] // { inherit config overlays localSystem; -}) +} // (if ((localSystem.system or localSystem) == "x86_64-linux" || (localSystem.system or localSystem) == "aarch64-linux") then { + crossSystem = { config = "aarch64-unknown-linux-gnu"; }; + } else {}) ) ```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions