From 8f3af92b2c595a79e2c559207f2e1293efeabc4f Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 10 Oct 2023 16:13:39 -0400 Subject: [PATCH] Mechanical migration to FlakeHub --- flake.lock | 15 ++++++++------- flake.nix | 2 ++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index d3735b3..c62c312 100644 --- a/flake.lock +++ b/flake.lock @@ -2,15 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1668994630, - "narHash": "sha256-1lqx6HLyw6fMNX/hXrrETG1vMvZRGm2XVC9O/Jt0T6c=", - "path": "/nix/store/lwnrrndriqm2d588lgd6184bcawj3b0z-source", - "rev": "af50806f7c6ab40df3e6b239099e8f8385f6c78b", - "type": "path" + "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": { - "id": "nixpkgs", - "type": "indirect" + "type": "tarball", + "url": "https://flakehub.com/f/NixOS/nixpkgs/0.2305.491476.tar.gz" } }, "root": { diff --git a/flake.nix b/flake.nix index 7b887c4..23af555 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,8 @@ { description = "A very basic flake"; + inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2305.491476.tar.gz"; + outputs = { self, nixpkgs }: let nameValuePair = name: value: { inherit name value; };