hjson: add python to PATH of wrapper
This commit is contained in:
parent
2d4524eb8c
commit
b932a6d4f4
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, pythonImportsCheckHook
|
||||
, makeWrapper
|
||||
}:
|
||||
|
@ -23,7 +24,9 @@ buildPythonPackage rec {
|
|||
|
||||
postInstall = ''
|
||||
rm $out/bin/hjson.cmd
|
||||
wrapProgram $out/bin/hjson --set PYTHONPATH "$PYTHONPATH"
|
||||
wrapProgram $out/bin/hjson \
|
||||
--set PYTHONPATH "$PYTHONPATH" \
|
||||
--prefix PATH : ${lib.makeBinPath [ python ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue