From 9418381af7a74354c431507b046ac40a1ce7793e Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Sat, 28 Oct 2023 11:44:19 +0100 Subject: [PATCH] Bump flake.lock Also override indirect dependencies, to prevent a duplicate `systems`. --- flake.lock | 63 ++++++++++++++++++++++++++++++++++++++++-------------- flake.nix | 7 ++++++ 2 files changed, 54 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index c5b0b725..a1e5ae8b 100644 --- a/flake.lock +++ b/flake.lock @@ -2,7 +2,9 @@ "nodes": { "flake-utils": { "inputs": { - "systems": "systems" + "systems": [ + "systems" + ] }, "locked": { "lastModified": 1694529238, @@ -26,11 +28,11 @@ ] }, "locked": { - "lastModified": 1688870561, - "narHash": "sha256-4UYkifnPEw1nAzqqPOTL2MvWtm3sNGw1UTYTalkTcGY=", + "lastModified": 1693660503, + "narHash": "sha256-B/g2V4v6gjirFmy+I5mwB2bCYc0l3j5scVfwgl6WOl8=", "owner": "nix-community", "repo": "nix-github-actions", - "rev": "165b1650b753316aa7f1787f3005a8d2da0f5301", + "rev": "bd5bdbb52350e145c526108f4ef192eb8e554fa0", "type": "github" }, "original": { @@ -41,11 +43,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1696983906, - "narHash": "sha256-L7GyeErguS7Pg4h8nK0wGlcUTbfUMDu+HMf1UcyP72k=", + "lastModified": 1698288402, + "narHash": "sha256-jIIjApPdm+4yt8PglX8pUOexAdEiAax/DXW3S/Mb21E=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "bd1cde45c77891214131cbbea5b1203e485a9d51", + "rev": "60b9db998f71ea49e1a9c41824d09aa274be1344", "type": "github" }, "original": { @@ -57,18 +59,24 @@ }, "poetry2nix": { "inputs": { - "flake-utils": "flake-utils", + "flake-utils": [ + "flake-utils" + ], "nix-github-actions": "nix-github-actions", "nixpkgs": [ "nixpkgs" - ] + ], + "systems": [ + "systems" + ], + "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1696512612, - "narHash": "sha256-p6niqag7b4XEHvzWgG0X/xjoW/ZXbAxW8ggd8yReT3Y=", + "lastModified": 1698488628, + "narHash": "sha256-DkaT1bknpSKAxfaXpPbTpodPwicVCWVqDyIgThsUr3g=", "owner": "nix-community", "repo": "poetry2nix", - "rev": "e23218d1599e3369dfc878757e58974017e0ecc8", + "rev": "f686df902134092835a33321159845d0505e3922", "type": "github" }, "original": { @@ -79,9 +87,11 @@ }, "root": { "inputs": { + "flake-utils": "flake-utils", "nixpkgs": "nixpkgs", "poetry2nix": "poetry2nix", - "sops-nix": "sops-nix" + "sops-nix": "sops-nix", + "systems": "systems" } }, "sops-nix": { @@ -94,11 +104,11 @@ ] }, "locked": { - "lastModified": 1697064251, - "narHash": "sha256-xxp2sB+4vqB6S6zC/L5J8LlRKgVbgIZOcYl9/TDrEzI=", + "lastModified": 1698273636, + "narHash": "sha256-swsqg/ckSVJnravx7ie9NFQSKIH27owtlk0wh4+xStk=", "owner": "Mic92", "repo": "sops-nix", - "rev": "f995ea159252a53b25fa99824f2891e3b479d511", + "rev": "014e44d334a39481223a5d163530d4c4ca2e75cb", "type": "github" }, "original": { @@ -121,6 +131,27 @@ "repo": "default", "type": "github" } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "poetry2nix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1697388351, + "narHash": "sha256-63N2eBpKaziIy4R44vjpUu8Nz5fCJY7okKrkixvDQmY=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "aae39f64f5ecbe89792d05eacea5cb241891292a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 88ddf41e..0e3ddb1b 100644 --- a/flake.nix +++ b/flake.nix @@ -4,12 +4,19 @@ poetry2nix = { url = "github:nix-community/poetry2nix"; inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-utils.follows = "flake-utils"; + inputs.systems.follows = "systems"; }; sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs-stable.follows = "nixpkgs"; }; + flake-utils = { + url = "github:numtide/flake-utils"; + inputs.systems.follows = "systems"; + }; + systems.url = "github:nix-systems/default"; }; outputs = { self, nixpkgs, poetry2nix, sops-nix, ... }@flakeInputs: