pass pkgs into shellOverride

This commit is contained in:
Valentin Boettcher 2022-06-01 15:12:36 +02:00
parent 1c32da0272
commit 58b0563a58

View file

@ -110,6 +110,7 @@
matplotlib = super.matplotlib.override (
{
enableGtk3 = true;
enableTk = true;
# preferWheel = false;
}
);
@ -172,7 +173,7 @@
rec {
devShell = (pkgs."${name}Shell".env.overrideAttrs (oldAttrs: {
buildInputs = (shellPackages pkgs) ++ [ pkgs.poetry ];
})).overrideAttrs shellOverride;
})).overrideAttrs (shellOverride pkgs);
} // (if noPackage then { } else rec {
packages = {
${name} = pkgs.${name};