Re: [Nix-dev] Haskell-env (via nix-shell) - am I doing this right?

2015-05-24 Thread Peter Simons
Hi Matthias,

  $ cabal build
  Building ratehs-0.1...
  Preprocessing executable 'ratehs' for ratehs-0.1...
  command line: cannot satisfy -package-id
  snap-0.14.0.2-ef658c66823be8387d049aa89445f690:
  snap-0.14.0.2-ef658c66823be8387d049aa89445f690 is unusable due
  to missing or recursive dependencies:
  clientsession-0.9.1.1-f379c9ed2e350715ba6cdc20d73894b3
  (use -v for more information)
 
  Do you have an idea how I can fix this?

this issue is described in https://github.com/NixOS/nixpkgs/issues/7792.
Instructions how to recover from this problem are in this thread. The
short version is: garbage collect haskell-clientsession and all its
dependents, then download those packages from scratch (or build them
locally with --option build-use-substitutes false. Anyway, the ticket
has more information on this subject.

Best regards,
Peter

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Directly configuring sysfs or /sys (not sysctl)

2015-05-24 Thread Bjørn Forsman
On 24 May 2015 at 06:27, Roger Qiu roger@polycademy.com wrote:
 I think sysctl is not the same as sysfs in Linux. The sysfs is a vfs that is
 mounted on `/sys`, whereas sysctl only controls the settings that are
 available inside `/proc/sys`.

Right. Sorry, I didn't pay enough attention.

- Bjørn
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] stuck with fresh install on macbook pro

2015-05-24 Thread Tobias Pflug
Hi,

i just finished installing nixos on my 15 macbook pro retina. The 
installation went through without any specific problems and I booted 
into the system just fine - The problem now is I can't get X to work for 
some reason - X seemed to work just fine during installation.

When I realized that no X session would start automatically I tried
calling X manually. I uploaded the log output from X along with
my nixos configuration files : 
https://gist.github.com/gilligan/c111210f6e357471dd5d

It seems to be complaining that it cannot load module intel because
it does not exist. I did specify intel in services.xserver.videoDrivers 
however. Is there anything else I need to be doing besides that ?

Very thankful for any help on this.
best regards,

Tobi
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev