Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
master = pkgs.python35Packages.buildPythonApplication (inputs // {
preUnpackHook = ''
PDIR = $(pwd)
echo "qui: $PDIR"
cd $(mktemp -d)
git clone $PDIR .
export sourceRoot="./checkprices"
'';
checkPhase = "env MYPYPATH=$PWD/stubs py.test";
doCheck = true;
});
dev = pkgs.python35Packages.buildPythonApplication (inputs // {
src = ./.;
postShellHook = ''
export LC_ALL=en_US.UTF-8
export MYPYPATH=$PWD/stubs
'';
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.