tcl.tclPackageHook: fix cross

This commit is contained in:
Alyssa Ross 2021-08-30 15:42:41 +00:00
parent 686a131c98
commit 320475230c

View File

@ -1,4 +1,4 @@
{ lib, stdenv, callPackage, makeSetupHook, makeWrapper
{ lib, stdenv, callPackage, makeSetupHook
# Version specific stuff
, release, version, src
@ -51,9 +51,9 @@ let
inherit release version;
libPrefix = "tcl${release}";
libdir = "lib/${libPrefix}";
tclPackageHook = callPackage ({}: makeSetupHook {
tclPackageHook = callPackage ({ buildPackages }: makeSetupHook {
name = "tcl-package-hook";
deps = [ makeWrapper ];
deps = [ buildPackages.makeWrapper ];
} ./tcl-package-hook.sh) {};
};
};