Re: [Nix-dev] nix on Fedora 9

2008-05-20 Thread Marc Weber
> Maybe a compiler problem? Both getEnv and abort seem to be very basic functions. I remember having seen exactly those errors. But i can't remember which was the way to fix it. I guess it was using another gcc or installing some C libs. But I'm not sure. Can't you install an exising binary distri

[Nix-dev] nix on Fedora 9

2008-05-20 Thread Armijn Hemel
hi all, has anyone had success building Nix on Fedora 9? I get this: Making all in libutil make[3]: Entering directory `/home/armijn/nix/nix-0.12pre11815/src/libutil' if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..-Wall -I./.. -I../../externals/inst-aterm

Re: [Nix-dev] deb package for nix

2008-05-20 Thread Pjotr Prins
The easiest way to create a Debian package is, currently, checkinstall (which depends on gettext). E.g. apt-get install checkinstall wget http://nixos.org/releases/nix/unstable/nix-0.12pre11815.tar.gz tar xvzf nix-0.12pre11815.tar.gz cd nix-* ./configure make checkinstall -y -D make install

Re: [Nix-dev] Re: Which is the best way to pass dependencies?

2008-05-20 Thread Andres Loeh
> So in this example: > > /nix/store/*-A/nix-support/packagdb contains contents of A > > variant B1: >/nix/store/*-B/nix-support/packagdb contains contents of B >/nix/store/*-D/nix-support/packagdb contains contents of D >/nix/store/*-C/nix-support/packagdb contains contents

[Nix-dev] Re: Which is the best way to pass dependencies?

2008-05-20 Thread Marc Weber
> I don't quite get this. envHooks are called on all propagatedBuildInputs > anyway, > so it seems easier to add all of them. So I'm in favour of (a variant of) B1. A - > B -> C -> E -> ... `-> D -> ` I agree it might be better to just put the the packagdb.install into nix-support So in thi

[Nix-dev] A special BIOLOGY section

2008-05-20 Thread Pjotr Prins
Question: I have started creating BIOLOGY packages - which are to be deployed as closures on different Linux/BSD distributions (32/64 bits and perhaps even Windoze). I would like binaries automatically built and made available for download - but I don't think it belongs in the base Nix installation

[Nix-dev] Re: Which is the best way to pass dependencies?

2008-05-20 Thread Andres Loeh
Hi. > (A) Using kind of register script (I think this is like the longer existing > ghc implemetnation does it?) Yes, almost. > A1 using propagatedBuildIpnuts: ># create local package db >echo [] > localpkgdb.deps >runSetupHooksOfDeps # all d

[Nix-dev] Moving all information to darcs repo

2008-05-20 Thread Marc Weber
this repo will be used by me in the near future to add the application grapping all package data from hackage generating some nix expressions. Right now it only contains the summary of the already posted mails + a small idea in dontforget/. [EMAIL PROTECTED]:nix-haskell-ghc Contact me to get the

[Nix-dev] Which is the best way to pass dependencies?

2008-05-20 Thread Marc Weber
passing deps: dep graph ( C depends on B,D depending on A), thus A is found twice when traversing deps of C ! A - > B -> C `-> D -> ` example what happens when building C: (A) Using kind of register script (I think this is like the longer existing ghc implemetnation does it?) A1 us

Re: [Nix-dev] Re: Merging haskell stuff - missing features?

2008-05-20 Thread Eelco Dolstra
Andres Loeh wrote: (3) requires to change the user interface builder in build-support/buildenv Also requires to adapt the Cabal builder (2) accordingly to install suitable nix-support files. Actually, the user environment builder is part of Nix itself. The buildenv thing in Nixpkg

[Nix-dev] Re: Merging haskell stuff - missing features?

2008-05-20 Thread Andres Loeh
Here's where I think the source code related to the items from my previous mail should go: (1) affects the ghc nix expression, should go to development/compilers/ghc (2) is build support for Cabal packages, so I think it should go to build-support/haskell/cabal.nix Possibly, some of

[Nix-dev] Re: Merging haskell stuff - missing features?

2008-05-20 Thread Andres Loeh
Hi Marc. Here's a start. Plan for Haskell packages in NixOS: (1) Haskell packages require a package database at build time. This can be solved by using setupHook. Option A: Just build a GHC_PACKAGE_PATH. Pro: Very simple to do in setupHook. Con: Requires a patched Cabal.

Re: [Nix-dev] new user impressions

2008-05-20 Thread Roman Cheplyaka
* Michael Raskin <[EMAIL PROTECTED]> [2008-05-20 15:47:32+0400] > > >> Finally I've solved this problem chrooting into my Debian system and > > >> getting connection up from there. Installation went smoothly, but in the > > >> end there was a failure to install grub loader for some reason. Message

Re: [Nix-dev] new user impressions

2008-05-20 Thread Roman Cheplyaka
* Michael Raskin <[EMAIL PROTECTED]> [2008-05-20 15:27:11+0400] > 1. Booting into NixOS will give you little good anyway for now, as > there is no pppd in NixPkgs yet. Maybe I will try to add it soon as > there is demand, but then you'll have to test it (as you seem to be > the only one with PPPoE)

Re[2]: [Nix-dev] new user impressions

2008-05-20 Thread Michael Raskin
> >> Finally I've solved this problem chrooting into my Debian system and > >> getting connection up from there. Installation went smoothly, but in the > >> end there was a failure to install grub loader for some reason. Message > >> was something like "grub/stage1 not read", and there was no chang

Re: [Nix-dev] new user impressions

2008-05-20 Thread Roman Cheplyaka
* Eelco Dolstra <[EMAIL PROTECTED]> [2008-05-20 13:17:35+0200] > Hi, > > Roman Cheplyaka wrote: > >> The first problem I've come across is the absence of the tools for >> making internet connection (i.e. pppd, pppoe and others). Considering >> not tiny size of the install CD and necessity of the in

Re: [Nix-dev] new user impressions

2008-05-20 Thread Michael Raskin
1. Booting into NixOS will give you little good anyway for now, as there is no pppd in NixPkgs yet. Maybe I will try to add it soon as there is demand, but then you'll have to test it (as you seem to be the only one with PPPoE) 2. Current install CD requires Internet connection for installati

Re: [Nix-dev] new user impressions

2008-05-20 Thread Eelco Dolstra
Hi, Roman Cheplyaka wrote: The first problem I've come across is the absence of the tools for making internet connection (i.e. pppd, pppoe and others). Considering not tiny size of the install CD and necessity of the internet connection for installation to succeed, this is very strange. I thi

[Nix-dev] new user impressions

2008-05-20 Thread Roman Cheplyaka
Hi all. I'm very excited with ideas of NixOS and tried to install it. The first problem I've come across is the absence of the tools for making internet connection (i.e. pppd, pppoe and others). Considering not tiny size of the install CD and necessity of the internet connection for installation

[Nix-dev] No need for alsoInstall, there is already propagated-user-env-packages

2008-05-20 Thread Marc Weber
Thanks kosmikus Marc ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Do we compress man and info files yet?

2008-05-20 Thread Eelco Dolstra
Marc Weber wrote: Many distros do. Maybe we should start doing this as well. Yes. This could easily be done in the fixupPhase of the generic builder. -- Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ ___ nix-dev mailing list nix-dev@cs.uu.n

[Nix-dev] Do we compress man and info files yet?

2008-05-20 Thread Marc Weber
Many distros do. Maybe we should start doing this as well. Marc ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] not only alsoInstall, we might need "mkDeriation = { options" as well

2008-05-20 Thread Marc Weber
> alsoInstall = [ ghc ]; adding would solve some trouble for ghc and packages adding mkDerivation = { options = ; } could tell you straight forward that you can isntall git with svn support.. Marc Weber ___ nix-dev mailing list nix-dev@cs.uu.n

Re: [Nix-dev] How a nix gui tool might look like? - what about derivation = { alsoInstall =

2008-05-20 Thread Marc Weber
> b) make the wrapper collect this information at runtime Some more information about how this could work. Each library installs it's packagedb (maybe containing dependencies ?) to $profile/libs/ghc-/libname.packagedb The ghc{,-pkg,i} wrappers scan this directory by using something like this gl

[Nix-dev] Re: some ideas to (re)organize/improve nixos

2008-05-20 Thread Gour
> "Marc" == Marc Weber <[EMAIL PROTECTED]> writes: Hi, Marc> Just a small comparison: #archlinux 368 chatters #nixos only 19 Marc> chatters.. Well, they probably also had 19 chatters at some point and that's why we discuss how to improve nixos to get them 3680 ;) Marc> Having more than on

Re: [Nix-dev] some ideas to (re)organize/improve nixos

2008-05-20 Thread Marc Weber
On Tue, May 20, 2008 at 08:19:33AM +0200, Gour wrote: > Hello! > > In last few days I expressed some ideas about the possibility to improve > and/or reorganize Nixos to be more user-friendly, but it seems that > #nixos is not the best medium for such talk. Just a small comparison: #archlinux 368 c