follow nixpkgs in treefmt inputs

This commit is contained in:
Bryton Hall 2023-07-07 23:51:35 -04:00
parent b231710109
commit df4d8f80a1
2 changed files with 7 additions and 18 deletions

20
flake.lock generated
View file

@ -32,22 +32,6 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1688590700,
"narHash": "sha256-ZF055rIUP89cVwiLpG5xkJzx00gEuuGFF60Bs/LM3wc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f292b4964cb71f9dfbbd30dc9f511d6165cd109b",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-compat": "flake-compat",
@ -72,7 +56,9 @@
},
"treefmt": {
"inputs": {
"nixpkgs": "nixpkgs_2"
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1688026376,

View file

@ -3,11 +3,14 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
treefmt.url = "github:numtide/treefmt-nix";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
treefmt = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, systems, ... }: