eggdrop: fix tcllib reference on darwin
This commit is contained in:
parent
4ff9e9e333
commit
479c15b08b
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, fetchFromGitHub, tcl }:
|
{ stdenv, fetchFromGitHub, tcl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
shlib = if stdenv.isDarwin then "dylib" else "so";
|
||||||
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "eggdrop-${version}";
|
name = "eggdrop-${version}";
|
||||||
version = "1.6.21-nix1";
|
version = "1.6.21-nix1";
|
||||||
@ -25,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-tcllib=${tcl}/lib/lib${tcl.libPrefix}.so"
|
"--with-tcllib=${tcl}/lib/lib${tcl.libPrefix}.${shlib}"
|
||||||
"--with-tclinc=${tcl}/include/tcl.h"
|
"--with-tclinc=${tcl}/include/tcl.h"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user