about summary refs log tree commit diff
path: root/overlay.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-29 01:16:16 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-29 01:16:16 +0300
commitc1353bb04b594a8b11fa7e28dbf29d0a6cb08275 (patch)
tree5bd87deaabc9f65a21af10b9dcbb5577c428659c /overlay.nix
parent2024-04-23 (diff)
2024-04-29
Diffstat (limited to '')
-rw-r--r--overlay.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/overlay.nix b/overlay.nix
index fb5ab8c..a37d3e7 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -60,6 +60,14 @@ final: prev: {
 
   parinfer-rust = prev.callPackage ./packages/parinfer-rust.nix { };
 
+  # FIXME https://nixpk.gs/pr-tracker.html?pr=307505
+  poetry = prev.poetry.overrideAttrs (finalAttrs: {
+    nativeBuildInputs = (finalAttrs.nativeBuildInputs or [ ]) ++ [
+      prev.python3Packages.pythonRelaxDepsHook
+    ];
+    pythonRelaxDeps = [ "dulwich" ];
+  });
+
   prismlauncher-unwrapped =
     (prev.prismlauncher-unwrapped.override (finalAttrs: {
       stdenv = final.useMoldLinker finalAttrs.stdenv;

Consider giving Nix/NixOS a try! <3