chickenPackages_5.chickenEggs.lowdown: fix build (#358455)

This commit is contained in:
Weijia Wang 2024-11-23 16:45:48 +01:00 committed by GitHub
commit 34134be7a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,13 @@ in
(addToBuildInputs (lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue) old)
// lib.optionalAttrs stdenv.hostPlatform.isDarwin (addToCscOptions "-L -linotify" old);
leveldb = addToBuildInputs pkgs.leveldb;
lowdown = old: {
# For some reason comparse version gets interpreted as 0.0.0
postPatch = ''
substituteInPlace lowdown.egg \
--replace-fail 'comparse "3"' 'comparse "0.0.0"'
'';
};
magic = addToBuildInputs pkgs.file;
mdh = old:
(addToBuildInputs pkgs.pcre old)