mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-11-12 21:48:17 +03:00
8455f75c8c
I think this is more correct: other package that depend on the system odbc package may not need freetds, the problem is that the Haskell odbc package doesn't declare its dependency on freetds.
30 lines
1.4 KiB
Nix
30 lines
1.4 KiB
Nix
# This file is for configuration that should be required by every
|
|
# package set. Hopefully we can keep configuration for particular
|
|
# package sets out of this repo. Ideally, this file is only used for
|
|
# fixing things that are broken due to the Nix infrastructure.
|
|
|
|
{ pkgs, ... }: {
|
|
# terminfo doesn't list libtinfo in its cabal file. We could ignore
|
|
# this if we used the terminfo shipped with GHC, but this package is
|
|
# reinstallable so we'd rather have it defined in the plan.
|
|
packages.terminfo.components.library.libs = [ pkgs.ncurses ];
|
|
|
|
# The `extra-libraries` field in `X11.cabal` does not include Xss and Xinerama
|
|
# see https://github.com/input-output-hk/haskell.nix/pull/988
|
|
packages.X11.components.library.libs = [
|
|
pkgs.xorg.libXScrnSaver
|
|
pkgs.xorg.libXinerama
|
|
];
|
|
|
|
# odbc needs this package to provide odbcss.h on Linux and macOS, see
|
|
# https://github.com/fpco/odbc#common-issues
|
|
packages.odbc.components.library.libs = [ pkgs.freetds ];
|
|
|
|
# These packages have `license: LGPL` in their .cabal file, but
|
|
# do not specify the version. Setting the version here on
|
|
# examination of the license files included in the packages.
|
|
packages.hscolour.package.license = pkgs.lib.mkForce "LGPL-2.1-only";
|
|
packages.cpphs.package.license = pkgs.lib.mkForce "LGPL-2.1-only";
|
|
packages.polyparse.package.license = pkgs.lib.mkForce "LGPL-2.1-only";
|
|
}
|