[Blog post] Channel changing in Nix

101 views
Skip to first unread message

Matthew Bauer

unread,
May 13, 2018, 5:06:35 PM5/13/18
to nix-devel
Hi all,

I have started to blog more on Nix & related ecosystem. I want to
share my most recent post on time traveling with Nixpkgs channels. I
look back on the past channels & how well they work on newer systems.
Hopefully, it will be useful to many! Feedback on these is very much
appreciated. I also provide an RSS feed if you are interested in
following it.

Post: https://matthewbauer.us/blog/channel-changing.html
RSS: https://matthewbauer.us/blog/feed.xml

-Matt Bauer

Danylo Hlynskyi

unread,
May 14, 2018, 3:48:40 AM5/14/18
to Matthew Bauer, nix-devel
Nice archeology!

I think that hello isn't available in old nixos-XX channels simply because years ago nixpkgs and nixos were different repos. Special attribute `pkgs` was used to refer to nixpkgs from nixos

$ nix run -f channels.nix aardvark.pkgs.hello -c hello
[3 copied (34.9 MiB), 11.1 MiB DL]
Hello, world!


--
You received this message because you are subscribed to the Google Groups "nix-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nix-devel+unsubscribe@googlegroups.com.
To post to this group, send email to nix-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nix-devel/CAFnZKr1ohY3HacssB8oC0FPG%3DvgVmZWAmcrndbr6ZGWBn9bnPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

zimbatm

unread,
May 15, 2018, 2:34:48 PM5/15/18
to Danylo Hlynskyi, Matthew Bauer, nix-devel

We also have https://planet.nixos.org/ where you could get your blog onto. Not sure what the process is to add a new RSS feed to it though.


On Mon, 14 May 2018, 08:48 Danylo Hlynskyi <abcz2....@gmail.com> wrote:
Nice archeology!

I think that hello isn't available in old nixos-XX channels simply because years ago nixpkgs and nixos were different repos. Special attribute `pkgs` was used to refer to nixpkgs from nixos

$ nix run -f channels.nix aardvark.pkgs.hello -c hello
[3 copied (34.9 MiB), 11.1 MiB DL]
Hello, world!
2018-05-14 0:06 GMT+03:00 Matthew Bauer <mjba...@gmail.com>:
Hi all,

I have started to blog more on Nix & related ecosystem. I want to
share my most recent post on time traveling with Nixpkgs channels. I
look back on the past channels & how well they work on newer systems.
Hopefully, it will be useful to many! Feedback on these is very much
appreciated. I also provide an RSS feed if you are interested in
following it.

Post: https://matthewbauer.us/blog/channel-changing.html
RSS: https://matthewbauer.us/blog/feed.xml

-Matt Bauer

--
You received this message because you are subscribed to the Google Groups "nix-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nix-devel+...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "nix-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nix-devel+...@googlegroups.com.

To post to this group, send email to nix-...@googlegroups.com.

Roni Choudhury

unread,
May 20, 2018, 1:54:15 PM5/20/18
to Matthew Bauer, nix-devel
Great post! Thank you for sharing. I always love to see things like this, that take a concept that sounds simple, then shows just how to go about using it in practice.

roni

Reply all
Reply to author
Forward
0 new messages