Use nixpkgs-unstable for pre-commit-hooks

depends on alejandra, which is not part of 21.11 nixpkgs.
This commit is contained in:
Jakob Lechner 2022-04-27 10:32:05 +00:00
parent bb8aa82d34
commit 8c1bdc0dbf
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
2 changed files with 26 additions and 7 deletions

30
flake.lock generated
View file

@ -42,14 +42,15 @@
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
"nixpkgs-unstable"
]
},
"locked": {
"narHash": "sha256-d5iDimTPC4r1hKFHAguCnkY9gPbieAIkApLUuYA+Xb4=",
"lastModified": 1646153636,
"narHash": "sha256-AlWHMzK+xJ1mG267FdT8dCq/HvLCA6jwmx2ZUy5O8tY=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "6799201bec19b753a4ac305a53d34371e497941e",
"rev": "b6bc0b21e1617e2b07d8205e7fae7224036dfa4b",
"type": "github"
},
"original": {
@ -75,13 +76,29 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1648390671,
"narHash": "sha256-u69opCeHUx3CsdIerD0wVSR+DjfDQjnztObqfk9Trqc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ce8cbe3c01fd8ee2de526ccd84bbf9b82397a510",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1648498653,
"narHash": "sha256-bfJ3aq54rafoy+STKqMO6fVQJ/eHyvf+0MDVvQN4H74=",
"lastModified": 1648526859,
"narHash": "sha256-9TPD9rPgFP206Z0F1HfTc0TKAt3osGTlzrx9l9yd7h8=",
"owner": "nix-community",
"repo": "NUR",
"rev": "1ae4446fb0017f0d74e3420b2b0d4008a764760e",
"rev": "9077485415cbdafd82542133a309a074922d5931",
"type": "github"
},
"original": {
@ -96,6 +113,7 @@
"home-manager": "home-manager",
"nix-pre-commit-hooks": "nix-pre-commit-hooks",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur"
}
}

View file

@ -2,6 +2,7 @@
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
@ -13,7 +14,7 @@
nix-pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix/master";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
outputs =