From af8b16117f3b6f76d1c52bfad8693d4238ff1d9d Mon Sep 17 00:00:00 2001 From: schweby Date: Sat, 11 Dec 2021 13:20:15 +0100 Subject: [PATCH] sources: add 21.11 as nixpkgs-new --- nix/sources.json | 12 ++++++++++++ pkgs/default.nix | 1 + 2 files changed, 13 insertions(+) diff --git a/nix/sources.json b/nix/sources.json index 23c7524..569f15b 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -87,6 +87,18 @@ "url": "https://github.com/nixos/nixpkgs/archive/3b422991781220853035dbe353ba8b7cb279b6b3.tar.gz", "url_template": "https://github.com///archive/.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///archive/.tar.gz" + }, "nixpkgs-unstable": { "branch": "nixos-unstable", "description": "Nix Packages collection", diff --git a/pkgs/default.nix b/pkgs/default.nix index beb7bd8..f6ebdee 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -4,6 +4,7 @@ let sources = import ../nix/sources.nix; pkgs = import sources.nixpkgs args; unstable = import sources.nixpkgs-unstable args; + new = import sources.nixpkgs-new args; callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);