expect: fix wrapping after tcl refactor
This commit is contained in:
parent
4109b119c2
commit
79ebd1af69
|
@ -25,10 +25,9 @@ tcl.mkTclDerivation rec {
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
postInstall = ''
|
||||||
for i in $out/bin/*; do
|
tclWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ tcl ]})
|
||||||
wrapProgram $i --prefix DYLD_LIBRARY_PATH : $out/lib/expect${version}
|
${lib.optionalString stdenv.isDarwin "tclWrapperArgs+=(--prefix DYLD_LIBRARY_PATH : $out/lib/expect${version})"}
|
||||||
done
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
Loading…
Reference in a new issue