diff options
author | Artturi <Artturin@artturin.com> | 2023-01-02 20:18:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 20:18:46 +0200 |
commit | e4c38ad4e69dc93c1366d576712f529585ec52ad (patch) | |
tree | 8d1b0866a950ad2c43d7ca59a1ed10c68dac0987 /pkgs/tools/graphics | |
parent | 2352faa1927448c437c8779c56d93bf38d7715c4 (diff) | |
parent | 667ab43f311f59d5a003ebae1bdcb9251a4f0687 (diff) |
Merge pull request #208770 from wegank/barcode-darwin
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/barcode/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/barcode/default.nix b/pkgs/tools/graphics/barcode/default.nix index eed06602a5ddf..9eb368b83af60 100644 --- a/pkgs/tools/graphics/barcode/default.nix +++ b/pkgs/tools/graphics/barcode/default.nix @@ -16,12 +16,14 @@ stdenv.mkDerivation rec { }) ]; + configureFlags = lib.optional stdenv.isDarwin "ac_cv_func_calloc_0_nonnull=yes"; + hardeningDisable = [ "format" ]; meta = with lib; { description = "GNU barcode generator"; maintainers = with maintainers; [ raskin ]; - platforms = platforms.linux; # Maybe other non-darwin Unix + platforms = platforms.unix; downloadPage = "https://ftp.gnu.org/gnu/barcode/"; homepage = "https://www.gnu.org/software/barcode/"; license = licenses.gpl3; |