lockfileProgs: fix build on darwin

This commit is contained in:
Travis A. Everett 2024-02-05 09:49:14 -06:00
parent 0a4f48c0cc
commit b2e85af5c6

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;