forked from M-Labs/thermostat
flake: Introduce pytec to PYTHONPATH in devShell
For easier testing of pytec client code in the shell.
This commit is contained in:
parent
4beeec6021
commit
c9defac87c
@ -63,8 +63,7 @@
|
||||
version = "0.0.0";
|
||||
src = "${self}/pythermostat";
|
||||
|
||||
propagatedBuildInputs =
|
||||
with pkgs.python3Packages; [
|
||||
propagatedBuildInputs = with pkgs.python3Packages; [
|
||||
numpy
|
||||
matplotlib
|
||||
];
|
||||
@ -95,6 +94,9 @@
|
||||
numpy
|
||||
matplotlib
|
||||
]);
|
||||
shellHook = ''
|
||||
export PYTHONPATH=`git rev-parse --show-toplevel`/pythermostat:$PYTHONPATH
|
||||
'';
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||
|
Loading…
Reference in New Issue
Block a user