wiringpi: fix build with libxcrypt

This commit is contained in:
Martin Weinelt 2022-10-03 18:16:53 +02:00
parent 0f7ef68488
commit 01f94c290d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,6 +2,7 @@
, stdenv
, symlinkJoin
, fetchFromGitHub
, libxcrypt
}:
let
@ -35,6 +36,9 @@ let
inherit mkSubProject;
wiringPi = mkSubProject {
subprj = "wiringPi";
buildInputs = [
libxcrypt
];
};
devLib = mkSubProject {
subprj = "devLib";
@ -45,6 +49,7 @@ let
wiringPiD = mkSubProject {
subprj = "wiringPiD";
buildInputs = [
libxcrypt
passthru.wiringPi
passthru.devLib
];
@ -52,6 +57,7 @@ let
gpio = mkSubProject {
subprj = "gpio";
buildInputs = [
libxcrypt
passthru.wiringPi
passthru.devLib
];