Pin unstable nixpkgs version

This commit is contained in:
Simon Bruder 2020-12-12 17:13:17 +01:00
parent 10e39fc404
commit 94d625784a
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 13 additions and 1 deletions

View file

@ -100,7 +100,7 @@
); );
# Add unstable channel # Add unstable channel
packageOverrides = pkgs: { packageOverrides = pkgs: {
unstable = import (builtins.fetchTarball "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz") { unstable = import (import ../nix/sources.nix).nixpkgs-unstable {
config = config.nixpkgs.config; config = config.nixpkgs.config;
}; };
}; };

View file

@ -35,6 +35,18 @@
"url": "https://github.com/NixOS/nixpkgs/archive/65c9cc79f1d179713c227bf447fb0dac384cdcda.tar.gz", "url": "https://github.com/NixOS/nixpkgs/archive/65c9cc79f1d179713c227bf447fb0dac384cdcda.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-unstable": {
"branch": "nixos-unstable",
"description": "Nix Packages collection",
"homepage": "",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e9158eca70ae59e73fae23be5d13d3fa0cfc78b4",
"sha256": "0cnmvnvin9ixzl98fmlm3g17l6w95gifqfb3rfxs55c0wj2ddy53",
"type": "tarball",
"url": "https://github.com/nixos/nixpkgs/archive/e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"pre-commit-hooks.nix": { "pre-commit-hooks.nix": {
"branch": "master", "branch": "master",
"description": "Seamless integration of https://pre-commit.com git hooks with Nix.", "description": "Seamless integration of https://pre-commit.com git hooks with Nix.",