From 8f6dd4acc49d31826987fd223cde93561034a24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 24 Feb 2025 10:43:34 +0700 Subject: [PATCH] switch to nixpkgs hosteded by cache.nixos.org This now works thanks to https://github.com/NixOS/infra/pull/562 --- flake.lock | 16 ++++++---------- flake.nix | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 9f734df7c..b024b5017 100644 --- a/flake.lock +++ b/flake.lock @@ -57,18 +57,14 @@ }, "nixpkgs": { "locked": { - "lastModified": 1739512841, - "narHash": "sha256-Zc+K4AxAwFaWKK18nSl/3TKidGf46En7bfK8SL+Revg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "fada727ee7c0bd487e311dede0a2b0725a0f7765", - "type": "github" + "lastModified": 315532800, + "narHash": "sha256-l6Og4eVZ7VaFjz42gFrm+fdiwofF0e+Cx3e0aDn3ZI0=", + "type": "tarball", + "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre755883.dad564433178/nixexprs.tar.xz" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz" } }, "root": { diff --git a/flake.nix b/flake.nix index fd1fb6f1d..6d1f945cb 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "clan.lol base operating system"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + nixpkgs.url = "https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz"; flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";