clan-cli: fix nix run clan-core failing inside direnv
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user