sources: add 21.11 as nixpkgs-new

This commit is contained in:
schweby 2021-12-11 13:20:15 +01:00
parent bde7afa9ca
commit af8b16117f
2 changed files with 13 additions and 0 deletions

View file

@ -87,6 +87,18 @@
"url": "https://github.com/nixos/nixpkgs/archive/3b422991781220853035dbe353ba8b7cb279b6b3.tar.gz", "url": "https://github.com/nixos/nixpkgs/archive/3b422991781220853035dbe353ba8b7cb279b6b3.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixpkgs-new": {
"branch": "nixos-21.11",
"description": "Nix Packages collection",
"homepage": "",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1bd4bbd49bef217a3d1adea43498270d6e779d65",
"sha256": "1fx6nqz8x9biwlwsnh67z5qz0fmrdgr01yvmdw2cw9xjx8hyss3s",
"type": "tarball",
"url": "https://github.com/nixos/nixpkgs/archive/1bd4bbd49bef217a3d1adea43498270d6e779d65.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs-unstable": { "nixpkgs-unstable": {
"branch": "nixos-unstable", "branch": "nixos-unstable",
"description": "Nix Packages collection", "description": "Nix Packages collection",

View file

@ -4,6 +4,7 @@ let
sources = import ../nix/sources.nix; sources = import ../nix/sources.nix;
pkgs = import sources.nixpkgs args; pkgs = import sources.nixpkgs args;
unstable = import sources.nixpkgs-unstable args; unstable = import sources.nixpkgs-unstable args;
new = import sources.nixpkgs-new args;
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs); callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);