[Nix-dev] Installation on opensuse
Matt Paine
mattzerah at gmail.com
Sun Jan 5 09:59:27 CET 2014
Hi Guys.
I have installed the RPM (actually built for fedora 19) on my newly
installed opensuse machine, and was hoping to get some help finalising the
installation.
I want to understand as much of the nix system as possible. But thought I
would do the RPM installation to start with, and move to a manual
installation from source down the track.
The error I am getting is this....
matt at linux-5ggd:~> nix-channel --update
downloading Nix expressions from `
http://releases.nixos.org/nixpkgs/nixpkgs-14.02pre37547.75f97f5/nixexprs.tar.xz'.
..
Perl API version v5.16.0 of Nix::Store does not match v5.18.0 at
/usr/lib/perl5/5.18.1/XSLoader.pm line 92.
Compilation failed in require at /usr/bin/nix-prefetch-url line 7.
BEGIN failed--compilation aborted at /usr/bin/nix-prefetch-url line 7.
cannot fetch `
http://releases.nixos.org/nixpkgs/nixpkgs-14.02pre37547.75f97f5/nixexprs.tar.xz
'
I read in a post that I should install the nix binary store, as that
contains the version of perl required (
https://github.com/NixOS/nixpkgs/issues/1121) which I have done, but the
next issue is that the default profile does not seem to exist...
matt at linux-5ggd:~> ls -lah
total 144K
drwxr-xr-x 24 matt users 4.0K Jan 5 18:51 .
drwxr-xr-x 4 root root 4.0K Jan 4 21:37 ..
...
lrwxrwxrwx 1 matt users 29 Jan 5 18:49 .nix-profile ->
/nix/var/nix/profiles/default
...
matt at linux-5ggd:~> ls -lah /nix/var/nix/profiles/
total 12K
drwxr-xr-x 3 root root 4.0K Jan 5 17:48 .
drwxr-xr-x 10 root root 4.0K Jan 5 12:11 ..
drwxrwxrwt 4 root root 4.0K Jan 5 16:30 per-user
So my question is... is there an easy way to create a base
/nix/var/nix/profiles/default to get me started?
Feel free to put me on the right path if this isn't the correct question to
be asking :)
Thank you.
Matt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140105/1c0b14d1/attachment.html
More information about the nix-dev
mailing list