feat(flake): reference nixpkgs input in other inputs

This commit is contained in:
Felix Schröter 2020-09-26 23:55:15 +02:00
parent 0a772c90b0
commit 10a370ceac
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
2 changed files with 23 additions and 42 deletions

View file

@ -3,13 +3,19 @@
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.home-manager.url = "github:nix-community/home-manager/master";
inputs.home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
inputs.nur.url = "github:nix-community/NUR/master";
inputs.pre-commit-hooks.url =
# "github:Myhlamaeus/pre-commit-hooks.nix/feat/flake";
"github:Myhlamaeus/pre-commit-hooks.nix/8d48a4cd434a6a6cc8f2603b50d2c0b2981a7c55";
inputs.pre-commit-hooks = {
url =
# "github:Myhlamaeus/pre-commit-hooks.nix/feat/flake";
"github:Myhlamaeus/pre-commit-hooks.nix/8d48a4cd434a6a6cc8f2603b50d2c0b2981a7c55";
inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, flake-utils, home-manager, nur, pre-commit-hooks }:
let