mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
tcl.mkTclDerivation: use getExe' instead of getBin
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
let
|
||||
inherit (tcl) stdenv;
|
||||
inherit (lib) getBin optionalAttrs;
|
||||
inherit (lib) getExe' optionalAttrs;
|
||||
|
||||
defaultTclPkgConfigureFlags = [
|
||||
"--with-tcl=${tcl}/lib"
|
||||
@@ -72,7 +72,7 @@ lib.extendMkDerivation {
|
||||
configureFlags;
|
||||
|
||||
env = {
|
||||
TCLSH = "${getBin tcl}/bin/tclsh";
|
||||
TCLSH = "${getExe' tcl "tclsh"}";
|
||||
}
|
||||
// args.env or { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user