diff options
| author | Artturin <Artturin@artturin.com> | 2024-12-09 20:04:11 +0200 |
|---|---|---|
| committer | Artturin <Artturin@artturin.com> | 2024-12-12 21:09:56 +0200 |
| commit | 764c99481a7d26b44aedfb61b0bc17cfa2d95e4a (patch) | |
| tree | f1838594bdaf8e044ee874d2825a0accaf4c2e0f /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | c9b3b5de62425be792ecbdc232f38a762ee95311 (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/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
