git.iko.soy/typeable/cabal2nix
on master help sign in
Comments for TODO.
commit5923338a6280753290ac4106fb8fc2fc7c3dbdcd authorAndres Loeh <mail@andres-loeh.de> dateMon 8 Aug 2011, 10:08 (15 years ago) parentcfa97a8
1 file changed+31
TODO+31
TODO+31
@@ -1,22 +1,45 @@
1+* Should we use the github issue tracker for this?
2+
13* Include build-tools field in the list of dependencies.
24
35 Example: haskell-src-exts/1.11.1/haskell-src-exts.cabal needs this.
46
7+ +1, this is important.
8+
59* Allow patching the cabal file before processing it. This is required
610 to enable/disable cabal flags.
711
812 Example: pandoc/1.8.2.1/pandoc.cabal
913
14+ Better approach 1: Allow flag settings to be specified via cabal2nix
15+ command line.
16+
17+ Better approach 2: Allow flag choices in the generated Nix expressions.
18+ Default values in Cabal translate to default values in Nix.
19+ Then when generating the composition file, select flag choices that
20+ are appropriate.
21+
1022* What is Integer-gmp, and is it required? Figure out what's going on in
1123 'double-conversion'.
1224
25+ No, integer-gmp and ghc are core packages missing from the core list.
26+ double-conversion needs a text version more recent than the current
27+ platform. I wouldn't support it for now.
28+
1329* The ':' at the expression argument list shouldn't be separated with a
1430 blank.
1531
32+ According to my coding style, it should. Colon is a binary operator.
33+ Binary operators should *always* be *surrounded* by spaces.
34+
1635* networkBytestring doesn't exist anymore.
1736
1837* Hipmunk has some weird 'm' library as input.
1938
39+ Well, that'd be -libm. Should be added to the library translation list.
40+ libm is probably in stdenv. So the type of library translation should
41+ probably become String -> [String] ...
42+
2043* terminfo lacks input extensibleExceptions and ncurses.
2144
2245* benchpress lacks a time buildInput.
@@ -29,8 +52,16 @@
2952
3053* SDL-mixer lacks SDL_mixer buildInput.
3154
55+ I looked at these. I think they'll have to be patched. These deps
56+ aren't properly declared in the Cabal file.
57+
3258* wxcore needs buildInputs: wxGTK, mesa, libX11.
3359
3460* applications/editors/leksah/default.nix generates an infinite
3561 recursion because the expression expects itself as an argument. Not
3662 sure why that is happening.
63+
64+ We should remove a self-dependency of a library. A package providing
65+ both library and binary can have a dependency on the library from the
66+ binary. That occurs with leksah. The current flattening includes that
67+ dep, but it shouldn't.