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 4e82a1b5e1
commit 160854a31d

View File

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