Make development experience work

Add direnv to default build
Add xonsh-direnv package to overlay and xonsh environment
Add virtualisation options
This commit is contained in:
Greg Hellings
2022-05-04 13:57:19 -05:00
parent 2d333a9128
commit f18d1f357c
13 changed files with 97 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
self: super:
{
xonsh-direnv = super.callPackage ./xonsh-direnv.nix {
#lib = self.lib;
buildPythonPackage = self.python3.pkgs.buildPythonPackage;
fetchPypi = self.python.pkgs.fetchPypi;
};
xonsh = super.xonsh.overridePythonAttrs (old: rec{
propagatedBuildInputs = old.propagatedBuildInputs ++ [ self.xonsh-direnv ];
});
}