diff options
author | QMK Bot <hello@qmk.fm> | 2022-05-31 04:09:14 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-05-31 04:09:14 +0000 |
commit | 044486500c18871453ac21e8a027117628ecdd51 (patch) | |
tree | da312a63d2a665271a136664f07f28392fd2016b /shell.nix | |
parent | a099579aa0d1a51923cde0fe825047e7af2b9e86 (diff) | |
parent | 650be92cf96440920ebf1079c11f2f36c4a9edc1 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -29,6 +29,14 @@ let pythonEnv = poetry2nix.mkPoetryEnv { projectDir = ./util/nix; overrides = poetry2nix.overrides.withDefaults (self: super: { + pillow = super.pillow.overridePythonAttrs(old: { + # Use preConfigure from nixpkgs to fix library detection issues and + # impurities which can break the build process; this also requires + # adding propagatedBuildInputs and buildInputs from the same source. + propagatedBuildInputs = (old.buildInputs or []) ++ pkgs.python3.pkgs.pillow.propagatedBuildInputs; + buildInputs = (old.buildInputs or []) ++ pkgs.python3.pkgs.pillow.buildInputs; + preConfigure = (old.preConfigure or "") + pkgs.python3.pkgs.pillow.preConfigure; + }); qmk = super.qmk.overridePythonAttrs(old: { # Allow QMK CLI to run "qmk" as a subprocess (the wrapper changes # $PATH and breaks these invocations). |