From 7aa3f1f9893f82a2e26300ee501aff11e647757b Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 11 Oct 2023 02:55:33 +0000 Subject: [PATCH] cross: fix moreutils build --- overlays/cross.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/overlays/cross.nix b/overlays/cross.nix index 15aac854..c93daf11 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -1201,6 +1201,12 @@ in { # # ''; # }); + moreutils = prev.moreutils.override { + # depends on perl IPC-Run -> IO-Tty, the latter does not cross + # N.B. only perl+perlPackages have to be emulated, but emulating stdenv actually reduces the closure + inherit (emulated) perl perlPackages stdenv; + }; + # mpvScripts = prev.mpvScripts // { # # "line 1: pkg-config: command not found" # # "mpris.c:1:10: fatal error: gio/gio.h: No such file or directory"