News for hackers. Stuff that matters.
Re:My Python Development Environment, 2020 Edition by huevo5050 on Tuesday November 12, 2019 @06:54AM (#21513388)
That's it, also you can cherry pick different software from different git revisions.
Re:My Python Development Environment, 2020 Edition by silviogutierrez on Tuesday November 12, 2019 @10:37AM (#21514889)
Do you have any public examples of doing this? Or docs?

Closest I found was to pin the nix-channel entirely, but not different components to different versions.

Re:My Python Development Environment, 2020 Edition by soraminazuki on Tuesday November 12, 2019 @07:33PM (#21519878)
You could do something like:

    let pinnedPkgs = import (builtins.fetchTarball {...}) {};
        node = pinnedPkgs.nodejs-10_x;
to refer to a specific version of node.

https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs

Re:My Python Development Environment, 2020 Edition by silviogutierrez on Tuesday November 12, 2019 @10:31PM (#21520960)
Thanks that helps.

I've mostly stuck to nix-shell -p foo bar baz to setup my environments. It's holding me back and I should pull the trigger on a shell.nix file, just gotta learn the language.