From 88b60b61b9b35d481d29157e93f07ee963b9c43c Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 15 Aug 2023 01:01:54 +0300 Subject: [PATCH] treewide: fix cross makeWrapper eval fix `error: makeWrapper/makeShellWrapper must be in nativeBuildInputs` The `faust.faust2ApplBase` in used in `faust2sc` + more, requires changes because it puts all the callPackage arguments in the `mkDerivation` call and thus causes a eval fail `nix-eval-jobs --flake ".#legacyPackages.x86_64-linux.pkgsCross.aarch64-multiplatform" --workers 2 2>/dev/null --impure | jq 'select(.error?) | select(.error | match ("makeWrapper/makeShellWrapper"))' --- pkgs/applications/audio/faust/faust2alqt.nix | 4 ++-- pkgs/applications/audio/faust/faust2jaqt.nix | 4 ++-- pkgs/top-level/all-packages.nix | 5 ++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/faust/faust2alqt.nix b/pkgs/applications/audio/faust/faust2alqt.nix index 1d86cc3f6c3f..b12b41763ba5 100644 --- a/pkgs/applications/audio/faust/faust2alqt.nix +++ b/pkgs/applications/audio/faust/faust2alqt.nix @@ -2,12 +2,12 @@ , alsa-lib , qtbase , writeText -, makeWrapper +, buildPackages }: let # Wrap the binary coming out of the the compilation script, so it knows QT_PLUGIN_PATH wrapBinary = writeText "wrapBinary" '' - source ${makeWrapper}/nix-support/setup-hook + source ${buildPackages.makeWrapper}/nix-support/setup-hook for p in $FILES; do workpath=$PWD cd -- "$(dirname "$p")" diff --git a/pkgs/applications/audio/faust/faust2jaqt.nix b/pkgs/applications/audio/faust/faust2jaqt.nix index 90498c9e3e3a..90b6ca218dd4 100644 --- a/pkgs/applications/audio/faust/faust2jaqt.nix +++ b/pkgs/applications/audio/faust/faust2jaqt.nix @@ -4,13 +4,13 @@ , libsndfile , alsa-lib , writeText -, makeWrapper +, buildPackages , which }: let # Wrap the binary coming out of the the compilation script, so it knows QT_PLUGIN_PATH wrapBinary = writeText "wrapBinary" '' - source ${makeWrapper}/nix-support/setup-hook + source ${buildPackages.makeWrapper}/nix-support/setup-hook for p in $FILES; do workpath=$PWD cd -- "$(dirname "$p")" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0ce71f677689..8e97f620ebf1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13713,7 +13713,9 @@ with pkgs; tmux-xpanes = callPackage ../tools/misc/tmux-xpanes { }; - tmuxPlugins = recurseIntoAttrs (callPackage ../misc/tmux-plugins { }); + tmuxPlugins = recurseIntoAttrs (callPackage ../misc/tmux-plugins { + pkgs = pkgs.__splicedPackages; + }); tmsu = callPackage ../tools/filesystems/tmsu { }; @@ -16167,6 +16169,7 @@ with pkgs; idrisPackages = dontRecurseIntoAttrs (callPackage ../development/idris-modules { idris-no-deps = haskellPackages.idris; + pkgs = pkgs.__splicedPackages; }); idris = idrisPackages.with-packages [ idrisPackages.base ] ;