pythonPackages.pythonRelaxDepsHook: cleanup unpacked folder

or it will end up in the dist output.
This commit is contained in:
Frederik Rietdijk
2022-10-04 15:34:46 +02:00
committed by Frederik Rietdijk
parent 101f914382
commit de5951f3c2
@@ -80,6 +80,9 @@ pythonRelaxDepsHook() {
@pythonInterpreter@ -m wheel pack "$unpack_dir/$pkg_name"
done
# Remove the folder since it will otherwise be in the dist output.
rm -rf "$unpack_dir"
popd
}