diff options
| author | user@node5.net <user@node5.net> | 2026-05-28 23:08:13 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-05-28 23:08:13 +0200 |
| commit | 596b55c0b486830c500ecd5beac3cbb9c1f93769 (patch) | |
| tree | 441e2966d4557a2482f2bf0cf34543077f8c6b40 | |
| parent | 3393d3c808bc53841d600107c07d72d839b8f61e (diff) | |
flake - test adding pythonPath to output
| -rw-r--r-- | flake.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix index 5893c39..0c58cda 100644 --- a/flake.nix +++ b/flake.nix @@ -23,23 +23,23 @@ python = pkgs.python3; + # Returns an attribute set that can be passed to `buildPythonPackage`. + attrs = project.renderers.buildPythonPackage { inherit python; }; in { # Build our package using `buildPythonPackage packages.x86_64-linux.default = - let - # Returns an attribute set that can be passed to `buildPythonPackage`. - attrs = project.renderers.buildPythonPackage { inherit python; }; - in # Pass attributes to buildPythonPackage. # Here is a good spot to add on any missing or custom attributes. python.pkgs.buildPythonPackage (attrs // { - meta = { + meta = { description = "Blog backend for blog.node5.net"; homepage = "https://blog.node5.net/Blog%20meta/"; changelog = "https://git.node5.net/blog/blog.node5.net_flask/log/"; mainProgram = "blog-node5"; - }; + }; }); - }; + } // { + pythonPath = "${python.pkgs.makePythonPath attrs.dependencies}"; + }; } |
