summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-17 21:26:15 -0400
committerseth <[email protected]>2023-03-17 21:33:22 -0400
commita0e562b603599abbfee76764202bdee331e470e1 (patch)
treedf0e096b772e84db42bc12bfcafa340f8ee94afb /flake.nix
parentfd481d4fdce31cfaaf414d24ebbba0b2ff99a20c (diff)
fix(flake): use nixpkgs-unstable for newer deno
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 993bfb7..b9c103e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,23 +3,25 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11";
+ nixpkgsUnstable.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
- inputs.nixpkgs.follows = "nixpkgs";
+ inputs.nixpkgs-stable.follows = "nixpkgs";
+ inputs.nixpkgs.follows = "nixpkgsUnstable";
inputs.flake-utils.follows = "flake-utils";
};
};
outputs = {
self,
- nixpkgs,
+ nixpkgsUnstable,
flake-utils,
pre-commit-hooks,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
- pkgs = import nixpkgs {inherit system;};
+ pkgs = import nixpkgsUnstable {inherit system;};
in {
checks = {
pre-commit-check = pre-commit-hooks.lib.${system}.run {