clan-cli: fix nix run clan-core failing inside direnv

This commit is contained in:
Michael Hoang
2024-12-13 15:09:03 +11:00
parent b5f6bd4702
commit 13ab00cd55

View File

@@ -105,6 +105,7 @@ python3.pkgs.buildPythonApplication {
makeWrapperArgs = makeWrapperArgs =
[ [
"--unset LD_LIBRARY_PATH" "--unset LD_LIBRARY_PATH"
"--unset PYTHONPATH"
# TODO: remove gitMinimal here and use the one from runtimeDependencies # TODO: remove gitMinimal here and use the one from runtimeDependencies
"--suffix" "--suffix"
@@ -210,7 +211,7 @@ python3.pkgs.buildPythonApplication {
''; '';
checkPhase = '' checkPhase = ''
PYTHONPATH= $out/bin/clan --help $out/bin/clan --help
''; '';
meta.mainProgram = "clan"; meta.mainProgram = "clan";