diff --git a/flake.lock b/flake.lock index 6e65588..0188243 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,15 @@ { "nodes": { "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1685518550, + "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "type": "github" }, "original": { @@ -16,12 +19,15 @@ } }, "flake-utils_2": { + "inputs": { + "systems": "systems_2" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1685518550, + "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "type": "github" }, "original": { @@ -32,26 +38,27 @@ }, "nixpkgs": { "locked": { - "lastModified": 1670377502, - "narHash": "sha256-ApYIjbTGszXzznuKkupYEqZ8BB9NYawDfxc9F2xRggk=", + "lastModified": 1685533922, + "narHash": "sha256-y4FCQpYafMQ42l1V+NUrMel9RtFtZo59PzdzflKR/lo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fa01623a880c73ae98939f19e0872023f789a4c3", + "rev": "3a70dd92993182f8e514700ccf5b1ae9fc8a3b8d", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixos-23.05", "repo": "nixpkgs", "type": "github" } }, "nixpkgs_2": { "locked": { - "lastModified": 1670377502, - "narHash": "sha256-ApYIjbTGszXzznuKkupYEqZ8BB9NYawDfxc9F2xRggk=", + "lastModified": 1685580370, + "narHash": "sha256-zTPVdZwLVQl/y0QTZEtYs9iNvZW6H9h+/MZsKdUinu8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fa01623a880c73ae98939f19e0872023f789a4c3", + "rev": "fabe2064486b607c2516296ce6108549de0649c4", "type": "github" }, "original": { @@ -66,11 +73,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1670366583, - "narHash": "sha256-yXpxginCle/SnHJ4iy0kjPt8/kEkc2ApwWo5pmYQ4y0=", + "lastModified": 1685418143, + "narHash": "sha256-q2ORekI8au0pGMtOLQI8WMCJBxjzWgYRHpiEOVSBq3w=", "owner": "nix-community", "repo": "poetry2nix", - "rev": "641d2d34a3a8ce2b35396fed89c8f49451d06226", + "rev": "f11cc14e28078c701072f2d1fb34a6495c9376b1", "type": "github" }, "original": { @@ -85,6 +92,36 @@ "nixpkgs": "nixpkgs", "poetry2nix": "poetry2nix" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 90cea99..44169f7 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Application packaged using poetry2nix"; inputs.flake-utils.url = "github:numtide/flake-utils"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; inputs.poetry2nix.url = "github:nix-community/poetry2nix"; outputs = { self, nixpkgs, flake-utils, poetry2nix }: { @@ -36,15 +36,19 @@ let pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; }; in { apps = { + default = pkgs.frontpage; frontpage = pkgs.frontpage; }; - defaultApp = pkgs.frontpage; - devShell = (pkgs.poetry2nix.mkPoetryEnv { python = pkgs.python39; projectDir = ./.; extraPackages = ps: [ ps.python-lsp-server ]; }).env; + + packages = { + default = pkgs.frontpage; + frontpage = pkgs.frontpage; + }; })); }