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