From c9db375525b4974cca2078463ebb577c3a07d5c6 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 10 Oct 2023 16:12:32 -0400 Subject: [PATCH] Mechanical migration to FlakeHub --- flake.lock | 35 ++++++++++++++++------------------- flake.nix | 4 ++-- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/flake.lock b/flake.lock index 894d650..a53089e 100644 --- a/flake.lock +++ b/flake.lock @@ -8,17 +8,16 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1686896497, - "narHash": "sha256-IphIS1KpiFXp/j0v7mEMhtw51uvU5F0mqF2j4//7VAA=", - "owner": "nix-community", - "repo": "fenix", - "rev": "9c69d11badcd78710d7d8665bc3d2e1adc450ffe", - "type": "github" + "lastModified": 1696141234, + "narHash": "sha256-0dZpggYjjmWEk+rGixiBHOHuQfLzEzNfrtjSig04s6Q=", + "rev": "9ccae1754eec0341b640d5705302ac0923d22875", + "revCount": 1618, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/nix-community/fenix/0.1.1618%2Brev-9ccae1754eec0341b640d5705302ac0923d22875/018aea4c-03c9-7734-95d5-b84cc8881e3d/source.tar.gz" }, "original": { - "owner": "nix-community", - "repo": "fenix", - "type": "github" + "type": "tarball", + "url": "https://flakehub.com/f/nix-community/fenix/0.1.1618.tar.gz" } }, "naersk": { @@ -43,18 +42,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1686736559, - "narHash": "sha256-YyUSVoOKIDAscTx7IZhF9x3qgZ9dPNF19fKk+4c5irc=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "ddf4688dc7aeb14e8a3c549cb6aa6337f187a884", - "type": "github" + "lastModified": 1696697597, + "narHash": "sha256-q26Qv4DQ+h6IeozF2o1secyQG0jt2VUT3V0K58jr3pg=", + "rev": "5a237aecb57296f67276ac9ab296a41c23981f56", + "revCount": 491476, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2305.491476%2Brev-5a237aecb57296f67276ac9ab296a41c23981f56/018b0dc8-d6ff-74ba-a370-df64e0732e35/source.tar.gz" }, "original": { - "owner": "nixos", - "ref": "nixos-23.05", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://flakehub.com/f/NixOS/nixpkgs/0.2305.491476.tar.gz" } }, "root": { diff --git a/flake.nix b/flake.nix index 78491c3..b616855 100644 --- a/flake.nix +++ b/flake.nix @@ -2,10 +2,10 @@ description = "riff"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05"; + nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2305.491476.tar.gz"; fenix = { - url = "github:nix-community/fenix"; + url = "https://flakehub.com/f/nix-community/fenix/0.1.1618.tar.gz"; inputs.nixpkgs.follows = "nixpkgs"; };