checkinstall: fix build

This commit is contained in:
Nikolay Korotkiy 2022-10-18 12:09:29 +03:00
parent df52bcd208
commit 1e007a2989
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -34,6 +34,11 @@ stdenv.mkDerivation rec {
# Fix BuildRoot handling in RPM builds.
./set-buildroot.patch
(fetchurl {
url = "https://salsa.debian.org/debian/checkinstall/-/raw/7175ae9de0e45f42fdd7f185ab9a12043d5efeeb/debian/patches/0016-Define-_STAT_VER-_MKNOD_VER-locally-dropped-in-glibc.patch";
hash = "sha256-InodEfvVMuN708yjXPrVXb+q8aUcyFhCLx35PHls0Eo=";
})
]
++ lib.optional (stdenv.hostPlatform.system == "x86_64-linux")