joshthetechie,

Ok peeps. I'm currently running NixOS and subscribed to the nixos-22.11 channel. I installed Vivaldi but I'm not on the latest release.
If search Nixpkgs, I see that the latest release on stable is 5.4.2753.47. However, I can see the pull request and merge to update the package to 6.0.2979.15 on the master branch in . Shouldn't I be getting that version when I update my config?

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
Nope! :)

When you're on a stable channel like 22.11, you get bugfix updates only, not feature releases. The "unstable" channel contains the newest updates.

I've got my config set up to let me use specific packages from unstable even though I'm on 22.11:

https://haste.benjaminhollon.com/adozuwinuj

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
Happy to help figure that out if you need it.

joshthetechie,

@benjaminhollon I can see that added criteria to the beginning of your config file. Currently trying to figure out where the closing curly bracket is. :)

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
The last line of the file?

joshthetechie,

@benjaminhollon Ah, I found my build issue.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
Good!

Hopefully this works for you!

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
You could change your whole system to unstable if you want everything the most recent, but I do personally like the idea of having most things as stable as possible, but getting to cherry-pick which packages you actually need more up-to-date versions of.

joshthetechie,

@benjaminhollon Now I'm assuming this means I need to add the unstable channel as well, right?

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
Oh, yes, you do. :)

In my system it's named "nixos-unstable"; if it ends up named something else for you (I think you specify the name when you add it), you'll need to change that in the config.

joshthetechie,

@benjaminhollon Now how do I define which packages I want to have pulled from unstable?

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
Just put "unstable" before them like so:

unstable.tut
unstable.deno
unstable.aerc

Those are in the example I sent of my config, if you look down at where I specified the packages.

joshthetechie,

@benjaminhollon Heh! I see that now.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
I should have mentioned it; it's not something you necessarily go looking for if you don't already know. ;)

I think that should be it; run a sudo nixos-rebuild switch and you should be good.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie
By the way, to see what package versions are available in which channels, you can check https://search.nixos.org/packages

There's also https://search.nixos.org/options to search available options.

codemonkeymike,

@benjaminhollon @joshthetechie go full unstable with us haha. :)

sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos

benjaminhollon,
@benjaminhollon@fosstodon.org avatar
joshthetechie,

@benjaminhollon @codemonkeymike Mike - It's tempting for sure. I was rocking the unstable branch for a bit.

joshthetechie,

@codemonkeymike @benjaminhollon Ha! I didn't realize I had to explicitly specify to allow unfree software in unstable. That bit me.

let
unstable = import <unstable> { config = { allowUnfree = true; }; };

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@joshthetechie @codemonkeymike
Ha I wouldn't have noticed that since I don't allow unfree. ;)

joshthetechie,

@benjaminhollon @codemonkeymike As always, someone on StackOverflow had the answer. :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines