mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 15:58:36 +00: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 a new issue