summaryrefslogtreecommitdiff
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
parentfd481d4fdce31cfaaf414d24ebbba0b2ff99a20c (diff)
fix(flake): use nixpkgs-unstable for newer deno
-rw-r--r--.gitattributes9
-rw-r--r--flake.lock22
-rw-r--r--flake.nix8
3 files changed, 17 insertions, 22 deletions
diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index 604aba9..0000000
--- a/.gitattributes
+++ /dev/null
@@ -1,9 +0,0 @@
-* text eol=lf
-
-*.gif binary
-*.ico binary
-*.jpg binary
-*.mp4 binary
-*.png binary
-*.webp binary
-*.zip binary
diff --git a/flake.lock b/flake.lock
index aacba35..a717271 100644
--- a/flake.lock
+++ b/flake.lock
@@ -67,20 +67,19 @@
"type": "indirect"
}
},
- "nixpkgs-stable": {
+ "nixpkgsUnstable": {
"locked": {
- "lastModified": 1678872516,
- "narHash": "sha256-/E1YwtMtFAu2KUQKV/1+KFuReYPANM2Rzehk84VxVoc=",
+ "lastModified": 1678898370,
+ "narHash": "sha256-xTICr1j+uat5hk9FyuPOFGxpWHdJRibwZC+ATi0RbtE=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8",
+ "rev": "ac718d02867a84b42522a0ece52d841188208f2c",
"type": "github"
},
"original": {
- "owner": "NixOS",
- "ref": "nixos-22.11",
- "repo": "nixpkgs",
- "type": "github"
+ "id": "nixpkgs",
+ "ref": "nixos-unstable",
+ "type": "indirect"
}
},
"pre-commit-hooks": {
@@ -91,9 +90,11 @@
],
"gitignore": "gitignore",
"nixpkgs": [
- "nixpkgs"
+ "nixpkgsUnstable"
],
- "nixpkgs-stable": "nixpkgs-stable"
+ "nixpkgs-stable": [
+ "nixpkgs"
+ ]
},
"locked": {
"lastModified": 1678976941,
@@ -113,6 +114,7 @@
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
+ "nixpkgsUnstable": "nixpkgsUnstable",
"pre-commit-hooks": "pre-commit-hooks"
}
}
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 {