add (overlays): add latest & old packages overlays
This commit is contained in:
parent
47a2de35e0
commit
83c8ef2a42
1 changed files with 21 additions and 0 deletions
21
overlays/default.nix
Normal file
21
overlays/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
systemArch,
|
||||
nixpkgs-old,
|
||||
nixpkgs-latest,
|
||||
packagesConfig,
|
||||
}:
|
||||
{
|
||||
latestPackages = final: _: {
|
||||
latest = import nixpkgs-latest {
|
||||
system = systemArch;
|
||||
config = packagesConfig;
|
||||
};
|
||||
};
|
||||
|
||||
oldPackages = final: _: {
|
||||
old = import nixpkgs-old {
|
||||
system = systemArch;
|
||||
config = packagesConfig;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in a new issue