diff options
| author | seth <[email protected]> | 2023-03-17 21:26:15 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-17 21:33:22 -0400 |
| commit | a0e562b603599abbfee76764202bdee331e470e1 (patch) | |
| tree | df0e096b772e84db42bc12bfcafa340f8ee94afb /flake.nix | |
| parent | fd481d4fdce31cfaaf414d24ebbba0b2ff99a20c (diff) | |
fix(flake): use nixpkgs-unstable for newer deno
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 { |
