[Nix-dev] Including "beta" or "unstable" identifiers in package names?

stewart mackenzie setori88 at gmail.com
Tue Aug 30 02:58:24 CEST 2016


Trying to understand your email:

in development/compilers/rust

beta.nix:
current behaviour: the name "beta" is already part of the version ->
see "shortVersion"
"...
  rustc = callPackage ./rustc.nix {
    shortVersion = "beta-2016-08-17";
..."
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/rust/beta.nix#L5-L6

in head.nix
current behaviour: the name "master" is already part of the version ->
see "shortVersion"
"...
  rustc = callPackage ./rustc.nix {
    shortVersion = "master-1.13.0";
..."

https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/rust/head.nix#L5-L6

I don't understand: "IMO the 'beta' and 'master' is part of the
version, not the package name, and so if it exists at all it should be
part of the version string;" as it quite clearly is part of the "shortVersion"


More information about the nix-dev mailing list