From 0f38736200793783fe92433e3e86c075cba6260b Mon Sep 17 00:00:00 2001
From: Zynh Ludwig <zynh0722@gmail.com>
Date: Fri, 27 Dec 2024 02:12:31 -0800
Subject: [PATCH] flake: no longer use stable nixpkgs for nyazoom

---
 flake.lock | 20 +++++++++++++++++---
 flake.nix  |  1 -
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/flake.lock b/flake.lock
index 085ddc8..11ff6dd 100644
--- a/flake.lock
+++ b/flake.lock
@@ -46,12 +46,26 @@
         "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
       }
     },
+    "nixpkgs_2": {
+      "locked": {
+        "lastModified": 1724479785,
+        "narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=",
+        "owner": "nixos",
+        "repo": "nixpkgs",
+        "rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be",
+        "type": "github"
+      },
+      "original": {
+        "owner": "nixos",
+        "ref": "nixos-unstable",
+        "repo": "nixpkgs",
+        "type": "github"
+      }
+    },
     "nyazoom": {
       "inputs": {
         "flake-parts": "flake-parts",
-        "nixpkgs": [
-          "nixpkgs"
-        ],
+        "nixpkgs": "nixpkgs_2",
         "rust-overlay": "rust-overlay"
       },
       "locked": {
diff --git a/flake.nix b/flake.nix
index 02a28a1..08fd15b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -6,7 +6,6 @@
 
     nyazoom = {
       url = "git+https://git.zynh.me/Zynh0722/nyazoom.git";
-      inputs.nixpkgs.follows = "nixpkgs";
     };
   };