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