From 5830d76e3466c6fd38ee4008272c637a115c8e83 Mon Sep 17 00:00:00 2001 From: Bad Date: Fri, 2 Sep 2022 11:00:24 +0200 Subject: [PATCH] Use the fenix overlay workaround recommended by upstream --- flake.lock | 42 +++++++++++++++++++++--------------------- flake.nix | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index 0240c91..70b675d 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1652712410, - "narHash": "sha256-hMJ2TqLt0DleEnQFGUHK9sV2aAzJPU8pZeiZoqRozbE=", + "lastModified": 1662046976, + "narHash": "sha256-BrTReGRhkVm/Kmmf4zQrL+oYWy0sds/BDBgXNX1CL3c=", "owner": "ryantm", "repo": "agenix", - "rev": "7e5e58b98c3dcbf497543ff6f22591552ebfe65b", + "rev": "9f136ecfa5bf954538aed3245e4408cf87c85097", "type": "github" }, "original": { @@ -169,11 +169,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1662014151, - "narHash": "sha256-uRfeib0Qvd9mTPEURZ6VIL5YfZfHvYovd83Xee3y1pk=", + "lastModified": 1662101031, + "narHash": "sha256-dTlT6J6+Rv6zno/VhJusBwgV7iFNRUdY4GgH7BUPWYk=", "owner": "nix-community", "repo": "fenix", - "rev": "e7886bedc391d9eb8e0f2ae9b9954648dedc625b", + "rev": "42e17909b3c69577303fd0c7ae138df3f4888de2", "type": "github" }, "original": { @@ -379,11 +379,11 @@ }, "latest": { "locked": { - "lastModified": 1661931183, - "narHash": "sha256-0+2KzcexiJCB3Il5t7cZAM2RXNRfm5/gMCwhcZJxLuQ=", + "lastModified": 1662019588, + "narHash": "sha256-oPEjHKGGVbBXqwwL+UjsveJzghWiWV0n9ogo1X6l4cw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "97747d3209efde533f7b1b28f1be11619f556a06", + "rev": "2da64a81275b68fdad38af669afeda43d401e94b", "type": "github" }, "original": { @@ -415,11 +415,11 @@ }, "nixos": { "locked": { - "lastModified": 1661972992, - "narHash": "sha256-50235YW76Jnx4okogoJv/sMz+WNnqC+0DqtkV3jm2XM=", + "lastModified": 1662025319, + "narHash": "sha256-ZJlBQ7jXynq4+Jg9+DgOe8FJG8sDIeFFYP3V3K98KUs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "067d5d5b89133efcda060bba31f9941c6396e3ee", + "rev": "b82ccafb54163ab9024e893e578d840577785fea", "type": "github" }, "original": { @@ -431,11 +431,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1660407119, - "narHash": "sha256-04lWO0pDbhAXFdL4v2VzzwgxrZ5IefKn+TmZPiPeKxg=", + "lastModified": 1662092548, + "narHash": "sha256-nmAbyJ5+DBXcNJ2Rcy/Gx84maqtLdr6xEe82+AXCaY8=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "12620020f76b1b5d2b0e6fbbda831ed4f5fe56e1", + "rev": "786633331724f36967853b98d9100b5cfaa4d798", "type": "github" }, "original": { @@ -446,11 +446,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1661931183, - "narHash": "sha256-0+2KzcexiJCB3Il5t7cZAM2RXNRfm5/gMCwhcZJxLuQ=", + "lastModified": 1662019588, + "narHash": "sha256-oPEjHKGGVbBXqwwL+UjsveJzghWiWV0n9ogo1X6l4cw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "97747d3209efde533f7b1b28f1be11619f556a06", + "rev": "2da64a81275b68fdad38af669afeda43d401e94b", "type": "github" }, "original": { @@ -567,11 +567,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1661974973, - "narHash": "sha256-19RhQFoSiVM6/7+Gf41A7Sa6mHjsV5Hooxsk+4rNZNM=", + "lastModified": 1662066014, + "narHash": "sha256-DE4FsE2sxd9nFtG+8+lnv/IBbtf+6rAlKjIdfpWN488=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "643c3a54de9da45f07ba9282c2ec7917d9ee7225", + "rev": "93c52e41ec0d297c7512adf5936d8c464c820618", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 7b65bc2..9a32059 100644 --- a/flake.nix +++ b/flake.nix @@ -75,7 +75,7 @@ imports = [ (digga.lib.importOverlays ./overlays) ]; overlays = [ # fenix.overlay breaks the cache, because it uses the system nixpkgs - (prev: _: { fenix = import fenix { system = prev.system; }; }) + (_: super: let pkgs = fenix.inputs.nixpkgs.legacyPackages.${super.system}; in fenix.overlay pkgs pkgs) agenix.overlay nvfetcher.overlay ./pkgs/default.nix