From f3350d96118ecf97d7538a2b7878ecae7de2082b Mon Sep 17 00:00:00 2001 From: Lin Jian Date: Thu, 14 Nov 2024 17:09:24 +0800 Subject: [PATCH] pip: ignore collisions in pyEnv Fixes https://github.com/nix-community/dream2nix/issues/1071 --- modules/dream2nix/pip/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/dream2nix/pip/default.nix b/modules/dream2nix/pip/default.nix index 3c78d67c5b..c66ae021ba 100644 --- a/modules/dream2nix/pip/default.nix +++ b/modules/dream2nix/pip/default.nix @@ -228,6 +228,7 @@ in { # https://github.com/NixOS/nixpkgs/pull/302385 mv "$out/${pyEnv'.sitePackages}/sitecustomize.py" "$out/${pyEnv'.sitePackages}/_sitecustomize.py" ''; + ignoreCollisions = true; }); # a shell hook for composition purposes