fix mautrix-signal
This commit is contained in:
parent
6c3d119959
commit
3920fadc24
1 changed files with 12 additions and 0 deletions
|
@ -28,5 +28,17 @@ in {
|
||||||
yarl
|
yarl
|
||||||
];
|
];
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
# Make a little wrapper for running mautrix-signal with its dependencies
|
||||||
|
echo "$mautrixSignalScript" > $out/bin/mautrix-signal
|
||||||
|
echo "#!/bin/sh
|
||||||
|
exec python -m mautrix_signal \"\$@\"
|
||||||
|
" > $out/bin/mautrix-signal
|
||||||
|
chmod +x $out/bin/mautrix-signal
|
||||||
|
wrapProgram $out/bin/mautrix-signal \
|
||||||
|
--set PATH ${python3}/bin \
|
||||||
|
--set PYTHONPATH "$PYTHONPATH"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue