From ea58bfd567bdad1efff1583b7236fe3aaa5a0e5f Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Tue, 4 Apr 2023 20:31:35 +0200 Subject: [PATCH] attic: add binary cache --- flake.lock | 32 +++++++++----------------------- flake.nix | 5 ++++- 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/flake.lock b/flake.lock index f35a95d..413b6aa 100644 --- a/flake.lock +++ b/flake.lock @@ -27,7 +27,9 @@ "crane": "crane", "flake-compat": "flake-compat", "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", + "nixpkgs": [ + "nixpkgs" + ], "nixpkgs-stable": "nixpkgs-stable" }, "locked": { @@ -283,15 +285,15 @@ }, "nixpkgs": { "locked": { - "lastModified": 1677852945, - "narHash": "sha256-liiVJjkBTuBTAkRW3hrI8MbPD2ImYzwUpa7kvteiKhM=", - "owner": "NixOS", + "lastModified": 1680577567, + "narHash": "sha256-Y4W57i0TzczqwMTjfVSbAZT5RJx7u+mpQIW/ofrkTQs=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "f5ffd5787786dde3a8bf648c7a1b5f78c4e01abb", + "rev": "b01f185e4866de7c5b5a82f833ca9ea3c3f72fc4", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "nixos", "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" @@ -313,22 +315,6 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1680577567, - "narHash": "sha256-Y4W57i0TzczqwMTjfVSbAZT5RJx7u+mpQIW/ofrkTQs=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "b01f185e4866de7c5b5a82f833ca9ea3c3f72fc4", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "ragenix": { "inputs": { "agenix": "agenix", @@ -359,7 +345,7 @@ "home-manager": "home-manager", "neovim-nightly-overlay": "neovim-nightly-overlay", "nifoc-overlay": "nifoc-overlay", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs", "ragenix": "ragenix" } }, diff --git a/flake.nix b/flake.nix index 5335a32..01b867b 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,10 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - attic.url = "github:zhaofengli/attic"; + attic = { + url = "github:zhaofengli/attic"; + inputs.nixpkgs.follows = "nixpkgs"; + }; neovim-nightly-overlay = { url = "github:nix-community/neovim-nightly-overlay";