mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
23 lines
560 B
Nix
23 lines
560 B
Nix
{ lib, stdenv, fetchurl, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3.2";
|
|
pname = "libmaa";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/dict/libmaa-${version}.tar.gz";
|
|
sha256 = "1idi4c30pi79g5qfl7rr9s17krbjbg93bi8f2qrbsdlh78ga19ar";
|
|
};
|
|
|
|
buildInputs = [ libtool ];
|
|
# configureFlags = [ "--datadir=/run/current-system/share/dictd" ];
|
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";
|
|
|
|
meta = with lib; {
|
|
description = "Dict protocol server and client";
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|