diff --git a/flake.lock b/flake.lock index 0ca2db01..1aad4706 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "flake-utils": { "locked": { - "lastModified": 1656928814, - "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", + "lastModified": 1676283394, + "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=", "owner": "numtide", "repo": "flake-utils", - "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", + "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073", "type": "github" }, "original": { @@ -17,11 +17,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1657114324, - "narHash": "sha256-fWuaUNXrHcz/ciHRHlcSO92dvV3EVS0GJQUSBO5JIB4=", + "lastModified": 1678470307, + "narHash": "sha256-OEeMUr3ueLIXyW/OaFUX5jUdimyQwMg/7e+/Q0gC/QE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a5c867d9fe9e4380452628e8f171c26b69fa9d3d", + "rev": "0c4800d579af4ed98ecc47d464a5e7b0870c4b1f", "type": "github" }, "original": { @@ -31,32 +31,19 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1657261001, - "narHash": "sha256-sUZeuRYfhG59uD6xafM07bc7bAIkpcGq84Vj4B+cyms=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "0be91cefefde5701f8fa957904618a13e3bb51d8", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "nixpkgs", - "type": "github" - } - }, "poetry2nix": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { - "lastModified": 1657149754, - "narHash": "sha256-iSnZoqwNDDVoO175whSuvl4sS9lAb/2zZ3Sa4ywo970=", + "lastModified": 1678513806, + "narHash": "sha256-bEto1lp9bIQ+DlJsXQyRxN5l6B/oy3Skb7DueYRJJBo=", "owner": "nix-community", "repo": "poetry2nix", - "rev": "fc1930e011dea149db81863aac22fe701f36f1b5", + "rev": "bf239d53fafb53cf439a72b3a50e86dd6a3984a5", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d9f0f1f0..a0f9dba4 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,12 @@ { + description = "LNbits, free and open-source Lightning wallet and accounts system"; + inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - poetry2nix.url = "github:nix-community/poetry2nix"; + poetry2nix = { + url = "github:nix-community/poetry2nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, poetry2nix }@inputs: let @@ -17,6 +22,7 @@ default = pkgs.mkShell { buildInputs = with pkgs; [ nodePackages.prettier + poetry ]; }; }); @@ -29,7 +35,6 @@ default = self.packages.${system}.${projectName}; ${projectName} = pkgs.poetry2nix.mkPoetryApplication { projectDir = ./.; - python = pkgs.python39; }; }); nixosModules = {