diff --git a/flake.lock b/flake.lock index e1a7f97..c63567e 100644 --- a/flake.lock +++ b/flake.lock @@ -82,7 +82,9 @@ }, "flake-utils": { "inputs": { - "systems": "systems" + "systems": [ + "systems" + ] }, "locked": { "lastModified": 1687171271, @@ -121,7 +123,8 @@ "fenix": "fenix", "flake-compat": "flake-compat", "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "systems": "systems" } }, "rust-analyzer-src": { @@ -168,16 +171,16 @@ }, "systems": { "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "lastModified": 1687694171, + "narHash": "sha256-m4E0xN69qKj/oKOj8OtiZcSFpFlO8paI6E3Wo5oXDJc=", + "owner": "msfjarvis", + "repo": "flake-systems", + "rev": "7876462a5f60841e8b2712ad20dc18470f448e8d", "type": "github" }, "original": { - "owner": "nix-systems", - "repo": "default", + "owner": "msfjarvis", + "repo": "flake-systems", "type": "github" } } diff --git a/flake.nix b/flake.nix index 8807b92..0203bce 100644 --- a/flake.nix +++ b/flake.nix @@ -1,45 +1,34 @@ { description = "gitice"; - inputs = { - nixpkgs = {url = "github:NixOS/nixpkgs/nixpkgs-unstable";}; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - fenix = { - url = "github:nix-community/fenix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; + inputs.systems.url = "github:msfjarvis/flake-systems"; - flake-utils = {url = "github:numtide/flake-utils";}; + inputs.advisory-db.url = "github:rustsec/advisory-db"; + inputs.advisory-db.flake = false; - flake-compat = { - url = "github:nix-community/flake-compat"; - flake = false; - }; + inputs.crane.url = "github:ipetkov/crane"; + inputs.crane.inputs.flake-compat.follows = "flake-compat"; + inputs.crane.inputs.flake-utils.follows = "flake-utils"; + inputs.crane.inputs.nixpkgs.follows = "nixpkgs"; - crane = { - url = "github:ipetkov/crane"; - inputs = { - flake-compat.follows = "flake-compat"; - flake-utils.follows = "flake-utils"; - nixpkgs.follows = "nixpkgs"; - }; - }; + inputs.fenix.url = "github:nix-community/fenix"; + inputs.fenix.inputs.nixpkgs.follows = "nixpkgs"; - advisory-db = { - url = "github:rustsec/advisory-db"; - flake = false; - }; - }; + inputs.flake-utils.url = "github:numtide/flake-utils"; + inputs.flake-utils.inputs.systems.follows = "systems"; + + inputs.flake-compat.url = "github:nix-community/flake-compat"; + inputs.flake-compat.flake = false; outputs = { self, nixpkgs, - fenix, + advisory-db, crane, + fenix, flake-utils, - advisory-db, ... }: flake-utils.lib.eachDefaultSystem (system: let