mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
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"
|
||||
];
|
||||
|
||||
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 = {
|
||||
description = "A tool for automating interactive applications";
|
||||
|
Loading…
Reference in New Issue
Block a user