git.iko.soy/typeable/cabal2nix
on master help sign in
Merge remote branch 'upstream/master'
commite423fba495a9e6b831cc1fcb54af3da7909a96f6 authorAndres Loeh <mail@andres-loeh.de> dateMon 8 Aug 2011, 13:52 (15 years ago) parentfc3a2ad6ae7e1c
1 file changed−94
TODO−94
TODOdeleted−94
@@ -1,94 +0,0 @@
1−* Should we use the github issue tracker for this?
2−
3−[[
4−* Include build-tools field in the list of dependencies.
5−
6− Example: haskell-src-exts/1.11.1/haskell-src-exts.cabal needs this.
7−
8− +1, this is important.
9−
10− Done.
11−]]
12−
13−* Allow patching the cabal file before processing it. This is required
14− to enable/disable cabal flags.
15−
16− Example: pandoc/1.8.2.1/pandoc.cabal
17−
18− Better approach 1: Allow flag settings to be specified via cabal2nix
19− command line.
20−
21− Better approach 2: Allow flag choices in the generated Nix expressions.
22− Default values in Cabal translate to default values in Nix.
23− Then when generating the composition file, select flag choices that
24− are appropriate.
25−
26−[[
27−* What is Integer-gmp, and is it required? Figure out what's going on in
28− 'double-conversion'.
29−
30− No, integer-gmp and ghc are core packages missing from the core list.
31− double-conversion needs a text version more recent than the current
32− platform. I wouldn't support it for now.
33−
34− Done.
35−]]
36−
37−* The ':' at the expression argument list shouldn't be separated with a
38− blank.
39−
40− According to my coding style, it should. Colon is a binary operator.
41− Binary operators should *always* be *surrounded* by spaces.
42−
43−* networkBytestring doesn't exist anymore.
44−
45−* Hipmunk has some weird 'm' library as input.
46−
47− Well, that'd be -libm. Should be added to the library translation list.
48− libm is probably in stdenv. So the type of library translation should
49− probably become String -> [String] ...
50−
51−* terminfo lacks input extensibleExceptions and ncurses.
52−
53− extensible-exceptions actually is a core library. It wasn't in ghc-6.10,
54− though. I'm not sure what to do here: either remove it as a core package,
55− consequently include it where it's a dependency, but set it to null for
56− all newer GHCs. Or drop support for ghc-6.10 completely, and keep it as
57− a core package.
58−
59− The ncurses dependency isn't properly specified in the Cabal file. It'll
60− have to be provided externally.
61−
62−* benchpress lacks a time buildInput.
63−
64− Same story for time as for extensible-exceptions above.
65−
66−* OpenAL lacks an openal build input.
67−
68− Another one that isn't specified in the Cabal files.
69−
70−* SDL-image lacks SDL_image buildInput.
71−
72−* SDL-ttf lacks SDL_ttf buildInput.
73−
74−* SDL-mixer lacks SDL_mixer buildInput.
75−
76− I looked at these. I think they'll have to be patched. These deps
77− aren't properly declared in the Cabal file.
78−
79−* wxcore needs buildInputs: wxGTK, mesa, libX11.
80−
81− Also not in the Cabal file.
82−
83−[[
84−* applications/editors/leksah/default.nix generates an infinite
85− recursion because the expression expects itself as an argument. Not
86− sure why that is happening.
87−
88− We should remove a self-dependency of a library. A package providing
89− both library and binary can have a dependency on the library from the
90− binary. That occurs with leksah. The current flattening includes that
91− dep, but it shouldn't.
92−
93− Done.
94−]]