[Nix-dev] Help me understand how to fix this installation (haskell package roman-numerals)
Carlo Nucera
meditans at gmail.com
Fri Nov 7 19:41:12 CET 2014
Hi all, I'm trying to package the haskell music-suite for nix, and so I'm
running down all the dependencies, packaging them. One of these is
roman-numerals ( https://hackage.haskell.org/package/roman-numerals ). I
use cabal2nix to generate the nix-expression, then I install it as usual
with
nix-env -f . -iA haskellPackages.romanNumerals
But here it is the error I get:
installing `haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared'
these derivations will be built:
/nix/store/cgxwind7xv4qkk4n2a0kf9y071xgjk25-haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared.drv
building path(s)
`/nix/store/x7bpcb7cq9hvpda3r21sqwcb6m0rscaz-haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared'
[pbuilding /nix/store/x7bpcb7cq9hvpda3r21sqwcb6m0rscaz-haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared
[punpacking sources
[3punpacking source archive
/nix/store/v3qj2h0ckbwqw08bzdmv7kyf1fsd6jbd-roman-numerals-0.5.1.4.tar.gz
[qsource root is roman-numerals-0.5.1.4
[q[ppatching sources
[q[pconfiguring
[1 of 1] Compiling Main ( Setup.hs,
/tmp/nix-build-haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared.drv-0/Main.o
)
Linking Setup ...
configure flags: --enable-split-objs --disable-library-profiling
--enable-shared --enable-library-vanilla --enable-executable-dynamic
--enable-tests
--ghc-option=-optl=-Wl,-rpath=/nix/store/x7bpcb7cq9hvpda3r21sqwcb6m0rscaz-haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared/lib/ghc-7.8.3/roman-numerals-0.5.1.4
Configuring roman-numerals-0.5.1.4...
Setup: At least the following dependencies are missing:
text >=0.11 && <1.2
[q[pbuilding
Setup: Run the 'configure' command first.
[q[qbuilder for
`/nix/store/cgxwind7xv4qkk4n2a0kf9y071xgjk25-haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared.drv'
failed with exit code 1
error: build of
`/nix/store/cgxwind7xv4qkk4n2a0kf9y071xgjk25-haskell-roman-numerals-ghc7.8.3-0.5.1.4-shared.drv'
failed
I see it's complaining about the package text, because I have Text version
1.2.0.0 installed (the one that's currently packaged in nixos-unstable),
and the package would like to have a lower version.
Now, what is the preferred course of action here? Should I package also a
version of text pre 1.2.0.0? What are naming conventions in this case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141107/1c8c8383/attachment.html
More information about the nix-dev
mailing list