Merge pull request #276529 from LibreCybernetics/staging-next-libei

[staging-next] libei: fix build, changing: python3Packages → python3.withPackages, attr → attrs
This commit is contained in:
Fabián Heredia Montiel 2023-12-25 11:23:24 -06:00 committed by GitHub
commit bcfe2bafda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,6 @@
, protobuf
, protobufc
, python3
, python3Packages
, systemd
}:
let
@ -42,19 +41,18 @@ stdenv.mkDerivation rec {
systemd
];
nativeBuildInputs = [
attr
meson
ninja
pkg-config
python3
] ++
(with python3Packages; [
jinja2
pytest
python-dbusmock
strenum
structlog
]);
(python3.withPackages(ps: with ps; [
attrs
jinja2
pytest
python-dbusmock
strenum
structlog
]))
];
postPatch = ''
ln -s "${munit}" ./subprojects/munit