Commit 650be92 1 parent 0e11b51 commit 650be92 Copy full SHA for 650be92
File tree 4 files changed +223
-136
lines changed
4 files changed +223
-136
lines changed Original file line number Diff line number Diff line change 29
29
pythonEnv = poetry2nix . mkPoetryEnv {
30
30
projectDir = ./util/nix ;
31
31
overrides = poetry2nix . overrides . withDefaults ( self : super : {
32
+ pillow = super . pillow . overridePythonAttrs ( old : {
33
+ # Use preConfigure from nixpkgs to fix library detection issues and
34
+ # impurities which can break the build process; this also requires
35
+ # adding propagatedBuildInputs and buildInputs from the same source.
36
+ propagatedBuildInputs = ( old . buildInputs or [ ] ) ++ pkgs . python3 . pkgs . pillow . propagatedBuildInputs ;
37
+ buildInputs = ( old . buildInputs or [ ] ) ++ pkgs . python3 . pkgs . pillow . buildInputs ;
38
+ preConfigure = ( old . preConfigure or "" ) + pkgs . python3 . pkgs . pillow . preConfigure ;
39
+ } ) ;
32
40
qmk = super . qmk . overridePythonAttrs ( old : {
33
41
# Allow QMK CLI to run "qmk" as a subprocess (the wrapper changes
34
42
# $PATH and breaks these invocations).
You can’t perform that action at this time.
0 commit comments