[Nix-dev] Installing a Haskell environment using Nix on Fbsd (bootstrapping problems)

Boudewijn Ector boudewijn at boudewijnector.nl
Thu Feb 7 02:26:47 CET 2008


Hi there,


Tonight I've been trying to get Nix to work using a FreeBSD (6, i386) OS 
in order to create a nice environment for some FP courses.
After installing Nix, I can install ghc... but if I want something like 
lhs2tex it has some problems bootstrapping GHC:


nix-env -i lhs2tex
installing `lhs2tex-1.13pre3'
error: while instantiating the derivation named `lhs2tex-1.13pre3' at 
`/root/.ni                                                                                                                    
x-defexpr/channels/nixpkgs_unstable/pkgs/tools/typesetting/lhs2tex/default.nix',                                                                                                                                
line 6:
while evaluating the derivation attribute `buildInputs' at 
`/root/.nix-defexpr/c                                                                                                                               
hannels/nixpkgs_unstable/pkgs/tools/typesetting/lhs2tex/default.nix', 
line 14:
while evaluating the attribute `outPath' at undefined position:
while instantiating the derivation named `ghc-6.8.2' at 
`/root/.nix-defexpr/chan                                                                                                                               
nels/nixpkgs_unstable/pkgs/development/compilers/ghc-6.8/default.nix', 
line 4:
while evaluating the derivation attribute `buildInputs' at 
`/root/.nix-defexpr/c                                                                                                                               
hannels/nixpkgs_unstable/pkgs/development/compilers/ghc-6.8/default.nix', 
line 
1                                                                                                                               
6:
while evaluating the attribute `outPath' at undefined position:
while instantiating the derivation named `ghc-6.4.2' at 
`/root/.nix-defexpr/chan                                                                                                                               
nels/nixpkgs_unstable/pkgs/development/compilers/ghc/boot.nix', line 4:
while evaluating the derivation attribute `src' at 
`/root/.nix-defexpr/channels/                                                                                                                               
nixpkgs_unstable/pkgs/development/compilers/ghc/boot.nix', line 6:
user-thrown exception: `cannot bootstrap GHC on this platform'



Can someone give me a clue about how to solve this problem?


Cheers!

Boudewijn Ector



More information about the nix-dev mailing list