You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using that package on Xenial gives: $ nix-build <anything>
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.20.2/x86_64-linux-gnu-thread-multi/auto/Nix/Store/Store.so: undefined symbol: Perl_xs_apiversion_bootcheck $ perl --version
This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi
Yeah, there's both libsodium13 and libsodium18. I guess you get libsodium18 by default if you depend on libsodium-dev. I supposed you could depend on libsodium13-dev, or adjust nix to work against libsodium18.
Note that this is somewhat unfortunate that you have to use nix to install Nix :(
Running into this now. I'm new to Nix and like the idea a lot. I'd like to buy into part of the ecosystem now to get a feel, but it would require me to run the installer script on Ubuntu Xenial as there don't appear to be any official versioned debs. I think this means I could get a new version of Nix with every new server I provision, which kind of defeats the purpose of using Nix as there may be surprises at execution time then.
Or perhaps there's another way to go about this? Or unintended Nix upgrades are perfectly harmless?
Activity
[-]No .deb for Xenial (Ubuntu 16.04) [/-][+]Request for .deb for Xenial (Ubuntu 16.04) [/+]domenkozar commentedon Apr 29, 2016
On it.
domenkozar commentedon Apr 29, 2016
Added images in NixOS/nixpkgs@8a3b707
domenkozar commentedon Apr 29, 2016
I have the following change:
but I'm getting an error:
cc @edolstra
domenkozar commentedon Apr 29, 2016
I see now, libsodium got upgraded. Working on the fix.
karltk commentedon Apr 29, 2016
Yeah, there's both libsodium13 and libsodium18. I guess you get libsodium18 by default if you depend on libsodium-dev. I supposed you could depend on libsodium13-dev, or adjust nix to work against libsodium18.
vcunat commentedon Apr 29, 2016
On nixpkgs master, nix is built against libsodium.18.so, so I think we only need to change the dependency specification.
vcunat commentedon Apr 29, 2016
It will probably have to be conditional, as some Debian/Ubuntu versions only have 13 and others only 18.
copumpkin commentedon Apr 29, 2016
Our distro packages are linked against host versions of libraries? Why not just have the .deb download the nix closure and go from there?
domenkozar commentedon Apr 29, 2016
See #892
domenkozar commentedon May 22, 2016
This can be closed now. We don't have "maintainer" branch for Nix so really you can only build the deb manually.
We should probably open an issue to have a maintenance branch updated.
vcunat commentedon May 23, 2016
I don't understand what you mean. There's https://hydra.nixos.org/jobset/nix/maintenance pulling from
1.11-maintenancebranch, so I assume we want to pick #892 into it.domenkozar commentedon May 30, 2016
Done: http://hydra.nixos.org/eval/1275755
bjornfor commentedon May 30, 2016
I followed that link to get the Ubuntu 16.04 .deb package. I found this URL, but it's dead: http://hydra.nixos.org/build/36401064/download/1/nix_1.11.2-1_amd64.deb
domenkozar commentedon May 30, 2016
Yes, since Hydra now pushes everything to S3 those files aren't available.
Use
nix-store -r /nix/store/zbkc1c66p0mlp3603zpjrg8ajxfz8nnj-nix-deb-ubuntu-16.04-xenial-amd64-1.11.2/domenkozar commentedon May 30, 2016
Note that this is somewhat unfortunate that you have to use nix to install Nix :(
kvz commentedon Sep 18, 2016
Running into this now. I'm new to Nix and like the idea a lot. I'd like to buy into part of the ecosystem now to get a feel, but it would require me to run the installer script on Ubuntu Xenial as there don't appear to be any official versioned debs. I think this means I could get a new version of Nix with every new server I provision, which kind of defeats the purpose of using Nix as there may be surprises at execution time then.
Or perhaps there's another way to go about this? Or unintended Nix upgrades are perfectly harmless?
vcunat commentedon Sep 18, 2016
@kvz, you can download the deb here: http://hydra.nixos.org/job/nix/maintenance/deb_ubuntu1604x86_64/latest
vcunat commentedon Sep 18, 2016
BTW, have I missed some reason why such packages aren't linked from http://nixos.org/nix/download.html ?
kvz commentedon Mar 7, 2017
Revisiting Nix, and having trouble again finding a good build. Clicking the link posted
now results in a
Checking the wiki at https://nixos.org/wiki/Installing_Nix_on_Debian states it's outdated, and indeed, gives a 404.
Checking http://nixos.org/nix/download.html has no ubuntu/debian builds, nor does http://nixos.org/releases/nix/nix-1.11.7/ it seems.
Delving through https://hydra.nixos.org, it's easy for a noob like me to get lost and confused about what an appropriate debian/ubuntu package would be.
This likely is one of the first steps newcomers would take, and it's rather hard 😄
edolstra commentedon Mar 7, 2017
We don't currently provide Deb/RPM packages, sorry. Hydra does build them for portability testing, but they're not available for download because they're not well tested. The supported installation method is to download the binary tarball, see http://nixos.org/nix/download.html.
kvz commentedon Mar 7, 2017
Okay, thanks for the quick response!