summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorRomanos Skiadas <rom.skiad@gmail.com>2022-06-28 06:26:19 +0300
committerRomanos Skiadas <rom.skiad@gmail.com>2022-06-29 21:30:03 +0300
commitd7956c52e1f56a7c180d2c290fa7b92d0e99f15a (patch)
tree43d3909c1ea3922fa26ef74a985410e6ab592834 /pkgs/development/python-modules/rangehttpserver
parent2e03101f0166d24cd41e8ef38b7efea01d41159b (diff)
autorandr: WIP Fix distutils import warning
Because autorandr still imports distutils, it produces a bunch of deprecation warnings. we need to add packaging to propagatedBuildInputs, but because this wasn't wrapped, the wrapper hook did not take care of adjusting the system path. The easiest way I could find to fix this was to actually wrap autorandr. Then I also had to add a patch to disable autorandr using sys.executable to fork itself in --batch mode. Otherwise it tries to use python to run the bash wrapper, which doesn't work. This should be fine in a nixpkgs environment, since nixpkgs sets the shebang explicitly.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions