-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.nix
30 lines (30 loc) · 863 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ mkDerivation, attoparsec, base, hedgehog, optparse-generic, stdenv, tasty
, tasty-hedgehog, text, these, gmp6, glibc
}:
mkDerivation {
pname = "columnate";
version = "0.1.0";
src = ./.;
isLibrary = false;
isExecutable = true;
libraryHaskellDepends = [
base optparse-generic text these attoparsec
];
executableHaskellDepends = [
base
];
testToolDepends = [ ];
testHaskellDepends = [
base hedgehog tasty tasty-hedgehog text
];
homepage = "https://github.com/bts/columnate";
description = "Columnate data sets while preserving color codes";
license = stdenv.lib.licenses.bsd3;
enableSharedExecutables = false;
enableSharedLibraries = false;
configureFlags = [
"--ghc-option=-optl=-static"
"--ghc-option=-optl=-L${gmp6.override {withStatic = true;}}/lib"
"--ghc-option=-optl=-L${glibc.static}/lib"
];
}