3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Sergei Trofimovich b5fbd8a057 lirc: fix build against pyyaml-6.0
Without the change `lirc` build fails as:

```
$ nix build -f. -L lirc
...
PYTHONPATH=../python-pkg/lirc \
/nix/store/gn4gyzv93izh3lg5iqjb7l04k9r4hxv0-python3-3.9.9-env/bin/python ./data2hwdb ../configs ../configs \
    > lirc.hwdb
Traceback (most recent call last):
  File "/build/lirc-0.10.1/doc/./data2hwdb", line 112, in <module>
    main()
  File "/build/lirc-0.10.1/doc/./data2hwdb", line 100, in main
    db = database.Database(configdir, yamldir)
  File "/build/lirc-0.10.1/python-pkg/lirc/database.py", line 135, in __init__
    cf = yaml.load(f.read())
TypeError: load() missing 1 required positional argument: 'Loader'
make[2]: *** [Makefile:1263: lirc.hwdb] Error 1
```
2021-12-27 17:32:31 +00:00
..
applications Merge master into staging-next 2021-12-27 12:08:21 +00:00
build-support Merge branch 'staging' into staging-next 2021-12-25 17:16:26 -05:00
common-updater
data Merge master into staging-next 2021-12-26 06:01:16 +00:00
desktops Merge branch 'staging' into staging-next 2021-12-25 17:16:26 -05:00
development lirc: fix build against pyyaml-6.0 2021-12-27 17:32:31 +00:00
games Update homepage to https (#152264) 2021-12-26 13:52:04 -05:00
misc Merge pull request #151681 from r-ryantm/auto-update/xlockmore 2021-12-26 16:00:10 -05:00
os-specific Merge master into staging-next 2021-12-26 18:01:04 +00:00
pkgs-lib
servers Merge master into staging-next 2021-12-27 12:08:21 +00:00
shells Merge pull request #151529 from r-ryantm/auto-update/elvish 2021-12-26 16:01:05 -05:00
stdenv Merge master into staging-next 2021-12-25 00:01:28 +00:00
test
tools Merge master into staging-next 2021-12-27 12:08:21 +00:00
top-level Merge master into staging-next 2021-12-27 12:08:21 +00:00