-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xenial support #4
Comments
Not from me, as I'm not using this role anymore. Actually it wouldn't hurt to bump the nix version too, as this role is still using 1.8 and the current one is 1.11 |
Thanks, I looked into it but it seems there are no official debs for it (NixOS/nix#891 (comment)). This would mean falling back to the install script but I'm hesitant to put such moving parts into a role. |
Using the script is not that bad, but you'll still need to setup multi-user if you want it. You can copy a specific version of the install script into a role if you want to control that :-) The package is basically just bootstraping + some config anyway, as you'll probably be using nix-managed nix soon after installing the package. And without setting up multi-user, the Nix from .deb can only be used by root. |
If anyone wants to submit a PR for this, I just got a link to this deb http://hydra.nixos.org/job/nix/maintenance/deb_ubuntu1604x86_64/latest in NixOS/nix#891 (comment) (I personally don't have the time currently) |
FWIW, I solved this problem by pinning my desired nix version, building the necessary debs from source using a nixexpr like this one so that I didn't have to pay any further attention to the state of which job outputs Hydra has or has not cached: with import <nixpkgs> {};
let
nix = fetchFromGitHub {
owner = "nixos";
repo = "nix";
rev = "1.11.8";
sha256 = "1qlddlzkpavhsrb7h3cyqhif5qc2qhkhjwnv4pbzg9hamqbd45wc";
};
in
(import "${nix}/release.nix" {
officialRelease = true;
}).deb_ubuntu1404x86_64 and then adapting the first task in ktosiek's ansible-nix role to use the (NB: for Xenial debs, you would presumably need to replace "deb_ubuntu1404x86_64" with, e.g., "deb_ubuntu1604x86_64") |
Hey there, thanks a lot for this project!
I'm currently running into this issue:
Are there any plans of supporting Ubuntu's latest LTS?
Kind regards,
Kevin
The text was updated successfully, but these errors were encountered: