mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
inkcut: avoid dirty PYTHONPATH
This avoids picking up libraries from the users' PYTHONPATH, which might conflict with the libraries that inkcut actually expects to run with. You can reproduce that problem with `nix-shell -p inkcut python310Packages.atom --run inkcut`: it will pick up the python 3.10 atom while inkcut is still built with pyton 3.9, leading to an error on startup. Fixes #159179
This commit is contained in:
parent
c777cdf5c5
commit
337d65fe62
@ -53,7 +53,7 @@ buildPythonApplication rec {
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
makeWrapperArgs = [ "\${qtWrapperArgs[@]}" ];
|
||||
makeWrapperArgs = [ "--unset" "PYTHONPATH" "\${qtWrapperArgs[@]}" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/inkscape/extensions
|
||||
|
Loading…
Reference in New Issue
Block a user