chickenPackages_5.chickenEggs.lowdown: fix build

This commit is contained in:
Linus Vettiger 2024-11-23 15:32:51 +01:00
parent 0d992c680b
commit 89ba4d2a77
No known key found for this signature in database

View File

@ -86,6 +86,13 @@ in
(addToBuildInputs (lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue) old) (addToBuildInputs (lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue) old)
// lib.optionalAttrs stdenv.hostPlatform.isDarwin (addToCscOptions "-L -linotify" old); // lib.optionalAttrs stdenv.hostPlatform.isDarwin (addToCscOptions "-L -linotify" old);
leveldb = addToBuildInputs pkgs.leveldb; 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; magic = addToBuildInputs pkgs.file;
mdh = old: mdh = old:
(addToBuildInputs pkgs.pcre old) (addToBuildInputs pkgs.pcre old)