Skip to content
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

[wip] aliases: add old aliases for previous Nixpkgs version #42061

Closed
wants to merge 1 commit into from

Conversation

matthewbauer
Copy link
Member

This is adapted from my post: https://matthewbauer.us/blog/channel-changing.html.

I am still undecided whether this is a good idea but I definitely
think it’s cool. This adds some top-level attributes for old releases
of NixOS/Nixpkgs. With them you can combine old versions of stuff in
one package, fairly easily:

{ pkgs }:
pkgs.impala.stdenv.mkDerivation {
  name = "hello";
  src = pkgs.impala.fetchurl { ... };
  buildInput = [ pkgs.gorilla.firefox
                 pkgs.emu.libedit ];
}

This is adapted from my post:  https://matthewbauer.us/blog/channel-changing.html.

I am still undecided whether this is a good idea but I definitely
think it’s cool. This adds some top-level attributes for old releases
of NixOS/Nixpkgs. With them you can combine old versions of stuff in
one package, fairly easily:

{ pkgs }:
pkgs.impala.stdenv.mkDerivation {
  name = "hello";
  src = pkgs.impala.fetchurl { ... };
  buildInput = [ pkgs.gorilla.firefox
                 pkgs.emu.libedit ];
}
@matthewbauer matthewbauer changed the title [wip] aliases: add old aliases Nixpkgs version [wip] aliases: add old aliases for previous Nixpkgs version Jun 15, 2018
@orivej orivej requested a review from edolstra June 15, 2018 07:36
@orivej
Copy link
Contributor

orivej commented Jun 15, 2018

You could move this under a new nixos-releases top level attribute, and this should fix the evaluation error reported by the bot.

@matthewbauer
Copy link
Member Author

Yeah that would be an overlay then, right? Does that make sense to people? I originally thought of having it be fixed output here, but I thought that would be too much to maintain, constantly updating old hashes (although a bot could be useful).

@matthewbauer
Copy link
Member Author

Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants