Merge pull request #286524 from abathur/fix_lockfileprogs_darwin

lockfileProgs: fix build on darwin
This commit is contained in:
Ben Siraphob
2024-02-05 14:47:32 -05:00
committed by GitHub
+2 -3
View File
@@ -11,10 +11,10 @@ stdenv.mkDerivation rec {
buildInputs = [ liblockfile ];
env.NIX_CFLAGS_COMPILE = toString [
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU (toString [
# Needed with GCC 12
"-Wno-error=format-overflow"
];
]);
installPhase = ''
runHook preInstall
@@ -25,7 +25,6 @@ stdenv.mkDerivation rec {
'';
meta = {
broken = stdenv.isDarwin;
description = "Programs for locking and unlocking files and mailboxes";
homepage = "http://packages.debian.org/sid/lockfile-progs";
license = lib.licenses.gpl2Only;