expect: fix postInstall library suffix on darwin
This commit is contained in:
parent
590cee5d19
commit
90575ababb
@ -31,7 +31,8 @@ stdenv.mkDerivation {
|
|||||||
"--exec-prefix=$out"
|
"--exec-prefix=$out"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall="cp expect $out/bin; mkdir -p $out/lib; cp *.so $out/lib";
|
postInstall = let libSuff = if stdenv.isDarwin then "dylib" else "so";
|
||||||
|
in "cp expect $out/bin; mkdir -p $out/lib; cp *.${libSuff} $out/lib";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A tool for automating interactive applications";
|
description = "A tool for automating interactive applications";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user