From d08871febbb58c72304352c582106063b60d1442 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Sat, 26 Aug 2023 16:01:35 -0400 Subject: [PATCH] devenv on flakehub as well --- flake.lock | 22 +++++++++------------- flake.nix | 8 ++++++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index adfe689..5a419a0 100644 --- a/flake.lock +++ b/flake.lock @@ -167,18 +167,15 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1688392541, - "narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b", - "type": "github" + "narHash": "sha256-5nm4yrEHKupjn62MibENtfqlP6pWcRTuSKrMiH9bLkc=", + "rev": "5690c4271f2998c304a45c91a0aeb8fb69feaea7", + "revCount": 518598, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.518598%2Brev-5690c4271f2998c304a45c91a0aeb8fb69feaea7/018a32e8-6e96-7b90-bccc-a5cf4c5ac2dd/source.tar.gz" }, "original": { - "owner": "NixOS", - "ref": "nixos-22.11", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz" } }, "pre-commit-hooks": { @@ -241,9 +238,8 @@ "type": "github" }, "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" + "id": "systems", + "type": "indirect" } } }, diff --git a/flake.nix b/flake.nix index 36f5dd6..2890cbc 100644 --- a/flake.nix +++ b/flake.nix @@ -1,10 +1,14 @@ { inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; - systems.url = "github:nix-systems/default"; + nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz"; devenv.url = "github:cachix/devenv"; }; + nixConfig = { + extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="; + extra-substituters = "https://devenv.cachix.org"; + }; + outputs = { self, nixpkgs,