Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
2da936e
gcc: default to gcc8
globin May 4, 2018
c10842f
libomxil-bellagio: fix build on gcc8
Synthetica9 May 9, 2018
3a395cc
systemd: suppress certain warnings to compile under gcc8
Synthetica9 May 9, 2018
1ac6445
Merge pull request #40246 from Synthetica9/gcc8-systemd-fix
xeji May 9, 2018
d93b315
nasm: set -Wno-error=attributes for gcc8 (#40431)
Synthetica9 May 13, 2018
116cce8
libglvnd: set -Wno-error=array-bounds (#40432)
Synthetica9 May 13, 2018
836404d
gcc: reset default to gcc7 on darwin
Synthetica9 May 14, 2018
87fd200
gcc8: mark as broken on darwin
Synthetica9 May 14, 2018
7feb762
gcc8: s/hostPlatform/stdenv/
Synthetica9 May 15, 2018
3ec39da
gcc8: disable test on darwin
Synthetica9 May 15, 2018
68cedc0
release: disable tests.cc-wrapper-gcc8.x86_64-darwin
matthewbauer May 11, 2018
da5a692
Merge pull request #40519 from Synthetica9/gcc8-darwin-revert
matthewbauer May 15, 2018
61411e5
Merge remote-tracking branch 'upstream/master' into gcc8
Synthetica9 May 15, 2018
479f696
llvm6: default to gcc7 instead of gcc8
Synthetica9 May 16, 2018
4fcc75d
Merge pull request #40574 from Synthetica9/gcc8-master-merge
matthewbauer May 16, 2018
283a61a
Merge pull request #40592 from Synthetica9/gcc8-llvm6-revert
matthewbauer May 16, 2018
d2f2132
iasl: 20180313 -> 20180508
Synthetica9 May 16, 2018
482a41f
iasl: Temporary fix for acpica/acpica/#387
Synthetica9 May 16, 2018
5c225ca
dhcp: fix compilation on gcc8 (#40605)
Synthetica9 May 16, 2018
2ecba01
Merge pull request #40608 from Synthetica9/gcc8-iasl
xeji May 16, 2018
456369f
hdf5: use gcc7 instead of gcc8 (#40704)
Synthetica9 May 17, 2018
b12448c
elfutils: add patch that fixes compilation under gcc8 (#40705)
Synthetica9 May 18, 2018
a581c10
Revert "iasl: 20180313 -> 20180508"
xeji May 19, 2018
8a999d1
iasl: integrate upstream patch for acpica/acpica#387 (#41481)
Synthetica9 Jun 5, 2018
63de09e
gcc: bump default to version 8
fpletz Jan 10, 2019
4fb9a8d
libglvnd: fix build with gcc8
fpletz Jan 10, 2019
cc2ddd1
libomxil-bellagio: fix build with gcc8
fpletz Jan 10, 2019
d8679a3
dhcp: fix build with gcc8
fpletz Jan 10, 2019
88d50fa
iasl: 20181213 -> 20190108
fpletz Jan 17, 2019
f4bcbb1
pfixtools: fix build with gcc8
globin Jan 11, 2019
9e612cc
blobfuse: fix build with gcc8
fpletz Jan 11, 2019
6f0282d
liboping: fix build with gcc8
fpletz Jan 11, 2019
75a91f6
getxbook: fix build with gcc8
fpletz Jan 11, 2019
5761727
llvm: add patch to fix build with gcc8
globin Jan 11, 2019
22a8f08
libsepol: 2.7 -> 2.8
fpletz Jan 11, 2019
8cfc850
libselinux: 2.7 -> 2.8
fpletz Jan 11, 2019
3020da1
setools: 2017-11-10 -> 4.2.0, fix build with gcc8
fpletz Jan 11, 2019
683b1dc
telegram-cli: fix build with gcc8
fpletz Jan 11, 2019
2bac9a5
gfortran8: init
globin Jan 11, 2019
0751c55
openocd: fix build with gcc8
fpletz Jan 11, 2019
ba6dff4
zookeeper_mt: fix build with gcc8
fpletz Jan 11, 2019
b5fa934
glibc: fix withGd build with gcc8
globin Jan 11, 2019
64d3bf6
libextractor: fix build with gcc8
fpletz Jan 11, 2019
f273784
netsurf.libwapcaplet: fix build with gcc8
globin Jan 11, 2019
c051374
nginx: fix build with gcc8
fpletz Jan 11, 2019
9e35639
libfaketime: fix build with gcc8
globin Jan 11, 2019
6d4be41
belle-sip: fix build with gcc8
fpletz Jan 11, 2019
60a8dd8
libdynd: fix build with gcc8
globin Jan 11, 2019
4a32649
vtk: 7.0.0 -> 7.1.1
globin Jan 11, 2019
3649b87
bzrtp: fix build with gcc8
globin Jan 11, 2019
5ef3257
edk2: fix build with gcc8
globin Jan 11, 2019
aca2c77
aerospike: fix build with gcc8
lheckemann Jan 11, 2019
5acbd2f
mmc-utils: 2018-03-27 -> 2018-12-14
globin Jan 11, 2019
e4f3f9a
chez: fix build with gcc8
globin Jan 11, 2019
f6799bc
altermime: fix build with gcc8
lheckemann Jan 11, 2019
ab354b7
bip: fix build with gcc8
lheckemann Jan 11, 2019
62c60f4
gem-config: fix grpc build with gcc8
fpletz Jan 11, 2019
f0a1f7e
xbps: fix build with gcc8
fpletz Jan 11, 2019
bc87c13
uri: 2017-07-16 -> 1.1.0, fix build with gcc8
fpletz Jan 11, 2019
3212dc8
leatherman: 1.5.3 -> 1.5.4, fix build with gcc8
fpletz Jan 11, 2019
879038d
libwhereami: 0.2.0 -> 0.2.2, fix build with gcc8
fpletz Jan 11, 2019
779a6f6
cpp-hocon: fix build with gcc8
fpletz Jan 11, 2019
e7556c8
telegram-purple: 1.3.0 -> 1.3.1, fix gcc8 build
fpletz Jan 11, 2019
0cd9da1
libmaa: fix build with gcc8
globin Jan 11, 2019
ef6e873
facter: fix build with gcc8
fpletz Jan 11, 2019
f411a31
zeroc_ice: fix build with gcc8
fpletz Jan 11, 2019
10798b7
mediastreamer2: fix build with gcc8
globin Jan 11, 2019
146f9fd
papi: fix build with gcc8
fpletz Jan 11, 2019
fbd6964
mesos: fix build with gcc8
globin Jan 15, 2019
6d88b49
mps: fix build with gcc8
globin Jan 15, 2019
87701cf
qpid-cpp: fix build with gcc8
globin Jan 15, 2019
9b99fa8
smpeg: fix build with gcc8
fpletz Jan 17, 2019
a5e803c
agg: fix build with gcc8
fpletz Jan 17, 2019
059bbd0
chaps: fix build with gcc8
fpletz Jan 17, 2019
d5cd7dd
libselinux: use PYTHONLIBDIR instead of manual copy
fpletz Jan 17, 2019
394bee7
ants: fix build with gcc8
fpletz Jan 17, 2019
1cdaba0
gnuapl: fix build with gcc8
fpletz Jan 17, 2019
1096720
gnuclad: fix build with gcc8
fpletz Jan 17, 2019
84de36a
darling-dmg: 1.0.4 -> 1.0.4+git20180914
fpletz Jan 17, 2019
45d6cce
linuxPackages.usbip: fix build with gcc8
fpletz Jun 17, 2019
edd3e17
xauth: 1.0.10 -> 1.1
dtzWill Aug 17, 2019
bd9d24a
qt48: Fix build for gcc8
tobim Aug 22, 2019
616b834
Merge remote-tracking branch 'upstream/master' into gcc-8
globin Aug 25, 2019
b98e4c0
getxbook: fix merge
globin Aug 25, 2019
5502286
rubygems.grpc: fix build with gcc8
globin Aug 26, 2019
aafc6d0
Merge pull request #67246 from tobim/gcc8/qt48
globin Aug 28, 2019
f61b3e0
glib-networking: format with nixpkgs-fmt
jtojnar Sep 2, 2019
84f318e
glib-networking: drop unnecessary flag
jtojnar Sep 2, 2019
8c7be1b
glib-networking: improve meta
jtojnar Sep 2, 2019
cb1cc75
glib-networking: stop propagating dependencies
jtojnar Sep 2, 2019
897a09f
glib-networking: clean up
jtojnar Sep 2, 2019
ce40361
glib-networking: hardcode GSettings path to gnomeproxy module
jtojnar Sep 2, 2019
ecf6f4a
glib-networking: add installed tests
jtojnar Sep 2, 2019
a01a854
libproxy: remove outdated comment
jtojnar Sep 2, 2019
d0ddf64
libproxy: split python outputs
jtojnar Sep 2, 2019
e9953b6
libproxy: format with nixpkgs-fmt
jtojnar Sep 2, 2019
0aa934a
libproxy: wrap GSetings helper
jtojnar Sep 2, 2019
42f63ff
Merge pull request #67957 from jtojnar/glib-networking-cleanup
worldofpeace Sep 3, 2019
e01d33a
libgdata: 0.17.10 → 0.17.11
jtojnar Sep 2, 2019
d1f9fcb
libgdata.tests: add installedTests
jtojnar Sep 2, 2019
fae9060
Merge pull request #67939 from jtojnar/libgdata-0.17.11
worldofpeace Sep 3, 2019
e3434a3
llvm_4: fix build with gcc8
fpletz Sep 3, 2019
e7b6d87
ocamlPackages.llvm: build with llvm_8
fpletz Sep 3, 2019
bd85a83
bap: build with llvm_8
fpletz Sep 3, 2019
3a7a990
irods: build with current version of llvm
fpletz Sep 3, 2019
be9901a
llvm_38: drop since it doesn't build with gcc8
fpletz Sep 3, 2019
d512362
Revert "xbps: fix build with gcc8"
fpletz Sep 3, 2019
de85797
Merge remote-tracking branch 'origin/master' into gcc-8
fpletz Sep 3, 2019
4d85d28
highlight: build with standard llvm version on darwin
fpletz Sep 3, 2019
087ba0e
arangodb_3_2: remove
globin Aug 26, 2019
29c120c
Merge pull request #66973 from dtzWill/update/xauth-1.1
dtzWill Sep 3, 2019
59ed1d9
glib: 2.60.6 -> 2.60.7
dtzWill Sep 2, 2019
04ddfc5
webkitgtk: 2.24.3 -> 2.24.4 (security!)
dtzWill Aug 30, 2019
86a1125
sessreg: 1.1.1 -> 1.1.2
dtzWill Jun 26, 2019
cdb4ee8
encodings: 1.0.4 -> 1.0.5
dtzWill Jun 26, 2019
743f96d
nsd: 4.2.1 -> 4.2.2
dtzWill Aug 22, 2019
2207378
linux: clearer origin for settings configuration
teto Aug 21, 2019
9ec4a26
libjpeg-turbo: 2.0.2 -> 2.0.3
orivej Sep 5, 2019
bd414cc
Merge pull request #68074 from dtzWill/update/encodings-1.0.5
dtzWill Sep 5, 2019
8fdb4c2
Merge pull request #68052 from dtzWill/update/glib-2.60.7
dtzWill Sep 5, 2019
10f023e
Merge pull request #68070 from dtzWill/update/sessreg-1.1.2
dtzWill Sep 5, 2019
4e8593b
Merge pull request #68054 from dtzWill/update/webkitgtk-2.24.4
dtzWill Sep 5, 2019
f75852d
Merge pull request #68079 from dtzWill/update/nsd-4.2.2
mmahut Sep 5, 2019
e5dece4
Merge branch 'staging-next' into staging
vcunat Sep 5, 2019
e729736
amarok: 2.9.0-20180618 -> 2.9.0-20190824
globin Sep 5, 2019
306cc9b
Merge branch 'staging-next' into staging
jtojnar Sep 6, 2019
7d3b44c
waf: 2.0.15 -> 2.0.18
bhipple Sep 6, 2019
f7e28bf
Split buildPythonPackage into setup hooks
FRidh Jul 17, 2019
9dd6537
pythonPackages.tld: use pythonImportsCheck and pytestCheckHook
FRidh Aug 31, 2019
755de1c
python.pkgs.terminado: disable tests
FRidh Aug 31, 2019
dc95e17
python: bootstrapped-pip: update wheel, setuptools, pip
FRidh Aug 31, 2019
afe67e5
python.pkgs.pip: 19.1.1 -> 19.2.3
FRidh Aug 31, 2019
0570a6b
python.pkgs.setuptools: 0.33.4 -> 0.33.6
FRidh Aug 31, 2019
5718ed6
python.pkgs.wheel: 0.33.4 -> 0.33.6
FRidh Aug 31, 2019
bf4f885
pythonPackages.editorconfig: remove duplicate EditorConfig
FRidh Sep 6, 2019
1ede2de
pythonPackages.editorconfig: -> 0.12.1 -> 0.12.2
FRidh Sep 6, 2019
a70aea1
pythonPackages.setuptools_scm: 3.2.0 -> 3.3.3
jonringer Sep 5, 2019
8563088
Merge branch 'staging-next' into staging
jtojnar Sep 6, 2019
053b9da
pythonPackages.area53: drop
marsam Apr 24, 2019
59ff3a0
pythonPackages.pystache: fix pname
marsam Apr 24, 2019
ad4ac8a
pythonPackages.pymysqlsa: fix PyPI name
marsam Apr 24, 2019
47ae762
pythonPackages.pyaudio: fix PyPI name
marsam Apr 24, 2019
b1c2a05
pythonPackages.mrbob: fix PyPI name
marsam Apr 24, 2019
4778194
pythonPackages.mp2: fix PyPI name
marsam Apr 24, 2019
c800464
pythonPackages.eggdeps: fix PyPI name
marsam Apr 24, 2019
11900ff
pythonPackages.python3pika: drop
marsam Apr 24, 2019
bb5c039
pythonPackages.pyev: drop
marsam Apr 24, 2019
53579ce
pythonPackages.pyaudio: 0.2.9 -> 0.2.11
marsam Apr 24, 2019
3cc3bfc
pythonPackages.mpd2: 0.5.5 -> 1.0.0
marsam Apr 24, 2019
7d1b5fa
mesa_glu: 9.0.0 -> 9.0.1
dtzWill Aug 24, 2019
841c667
librsvg: 2.44.14 -> 2.44.15
dtzWill Sep 2, 2019
289579b
numactl: 2.0.12 -> 2.0.13
dtzWill Sep 2, 2019
94aa75c
harfbuzz: 2.6.0 -> 2.6.1
dtzWill Sep 2, 2019
772e2aa
cups: 2.2.11 -> 2.2.12 (security!)
dtzWill Sep 2, 2019
b38a26e
libusb1: pname-ification
dtzWill Aug 28, 2019
4941879
libusb1: 1.0.22 -> 1.0.23
dtzWill Aug 28, 2019
8d3d7ce
libX11: 1.6.7 -> 1.6.8
dtzWill Jun 26, 2019
ae5df97
libXi: 1.7.9 -> 1.7.10
dtzWill Jun 26, 2019
5abfb98
kexectools: 2.0.19 -> 2.0.20
r-ryantm Aug 4, 2019
3263254
xorg.xinput: 1.6.2 -> 1.6.3
dtzWill Aug 24, 2019
9894a70
Merge staging into staging-next
FRidh Sep 6, 2019
e68505e
Merge remote-tracking branch 'upstream/gcc8' into staging-next
FRidh Sep 6, 2019
4d45451
Revert "pythonPackages.pyev: drop"
FRidh Sep 6, 2019
bcac886
Revert "elfutils: add patch that fixes compilation under gcc8 (#40705)"
lheckemann Sep 7, 2019
7e9e5ca
Merge master into staging-next
FRidh Sep 7, 2019
9fcdb3b
Merge branch 'master' into staging-next
jtojnar Sep 7, 2019
e73f871
Merge master into staging-next
FRidh Sep 8, 2019
4de7d24
python.pkgs.sphinx: requires setuptools
FRidh Sep 8, 2019
b981081
python.pkgs.httpretty: disable flaky test
FRidh Sep 8, 2019
241a619
python.pkgs.pybind11: fix build
FRidh Sep 8, 2019
ccc8c73
qt4: fixup build with gcc8 by Arch aur patch
vcunat Sep 8, 2019
5f4734b
Merge remote-tracking branch 'upstream/gcc-8' into staging-next
FRidh Sep 8, 2019
47caef4
Merge master into staging-next
FRidh Sep 8, 2019
2df3397
Revert "qt4: fixup build with gcc8 by Arch aur patch"
FRidh Sep 8, 2019
515ae5a
python.pkgs.tlsh: fix build
FRidh Sep 8, 2019
ee1b8e4
python2.pkgs.wxPython: fix build
FRidh Sep 8, 2019
5c2c505
gcc: use gcc7 for darwin
FRidh Sep 8, 2019
b5284a5
asn2quickder: fix build
FRidh Sep 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ and the aliases
#### `buildPythonPackage` function

The `buildPythonPackage` function is implemented in
`pkgs/development/interpreters/python/build-python-package.nix`
`pkgs/development/interpreters/python/mk-python-derivation`
using setup hooks.

The following is an example:
```nix
Expand Down Expand Up @@ -797,6 +798,22 @@ such as `ignoreCollisions = true` or `postBuild`. If you need them, you have to
Python 2 namespace packages may provide `__init__.py` that collide. In that case `python.buildEnv`
should be used with `ignoreCollisions = true`.

#### Setup hooks

The following are setup hooks specifically for Python packages. Most of these are
used in `buildPythonPackage`.

- `flitBuildHook` to build a wheel using `flit`.
- `pipBuildHook` to build a wheel using `pip` and PEP 517. Note a build system (e.g. `setuptools` or `flit`) should still be added as `nativeBuildInput`.
- `pipInstallHook` to install wheels.
- `pytestCheckHook` to run tests with `pytest`.
- `pythonCatchConflictsHook` to check whether a Python package is not already existing.
- `pythonImportsCheckHook` to check whether importing the listed modules works.
- `pythonRemoveBinBytecode` to remove bytecode from the `/bin` folder.
- `setuptoolsBuildHook` to build a wheel using `setuptools`.
- `setuptoolsCheckHook` to run tests with `python setup.py test`.
- `wheelUnpackHook` to move a wheel to the correct folder so it can be installed with the `pipInstallHook`.

### Development mode

Development or editable mode is supported. To develop Python packages
Expand Down
2 changes: 2 additions & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ in
gitlab = handleTest ./gitlab.nix {};
gitolite = handleTest ./gitolite.nix {};
gjs = handleTest ./gjs.nix {};
glib-networking = handleTest ./glib-networking.nix {};
glusterfs = handleTest ./glusterfs.nix {};
gnome3-xorg = handleTest ./gnome3-xorg.nix {};
gnome3 = handleTest ./gnome3.nix {};
Expand Down Expand Up @@ -144,6 +145,7 @@ in
latestKernel.login = handleTest ./login.nix { latestKernel = true; };
ldap = handleTest ./ldap.nix {};
leaps = handleTest ./leaps.nix {};
libgdata = handleTest ./libgdata.nix {};
libxmlb = handleTest ./libxmlb.nix {};
lidarr = handleTest ./lidarr.nix {};
lightdm = handleTest ./lightdm.nix {};
Expand Down
17 changes: 17 additions & 0 deletions nixos/tests/glib-networking.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# run installed tests
import ./make-test.nix ({ pkgs, ... }:

{
name = "glib-networking";
meta = {
maintainers = pkgs.glib-networking.meta.maintainers;
};

machine = { pkgs, ... }: {
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
};

testScript = ''
$machine->succeed("gnome-desktop-testing-runner -d '${pkgs.glib-networking.installedTests}/share'");
'';
})
21 changes: 21 additions & 0 deletions nixos/tests/libgdata.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# run installed tests
import ./make-test.nix ({ pkgs, ... }:

{
name = "libgdata";

meta = {
maintainers = pkgs.libgdata.meta.maintainers;
};

machine = { pkgs, ... }: {
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
# # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyTlsBackend) for ‘gio-tls-backend’
# Bail out! libgdata:ERROR:../gdata/tests/common.c:134:gdata_test_init: assertion failed (child_error == NULL): TLS support is not available (g-tls-error-quark, 0)
services.gnome3.glib-networking.enable = true;
};

testScript = ''
$machine->succeed("gnome-desktop-testing-runner -d '${pkgs.libgdata.installedTests}/share'");
'';
})
10 changes: 5 additions & 5 deletions pkgs/applications/audio/amarok/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
, curl, ffmpeg, gdk-pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
}:

mkDerivation {
mkDerivation rec {
pname = "amarok";
version = "2.9.0-20190731";
version = "2.9.0-20190824";

src = fetchgit {
# master has the Qt5 version as of April 2018 but a formal release has not
# yet been made so change this back to the proper upstream when such a
# release is out
url = git://anongit.kde.org/amarok.git;
# url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.CZ";
rev = "783da6d8e93737f5e41a3bc017906dc1f94bb94f";
sha256 = "08bypxk5kaay98hbwz9pj3hwgiyk3qmn9qw99bnjkkkw9wzsxiy6";
# url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
rev = "457fbda25a85a102bfda92aa7137e7ef5e4c8b00";
sha256 = "1ig2mg8pqany6m2zplkrvldcv4ibxwsypnyv5igm7nz7ax82cd5j";
};

nativeBuildInputs = [ extra-cmake-modules kdoctools ];
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/graphics/gnuclad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
};

NIX_CFLAGS_COMPILE = [ "-Wno-error=catch-value" ];

nativeBuildInputs = [ pkgconfig ];

meta = with stdenv.lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/getxbook/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
};

NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" "-Wno-error=deprecated-declarations" ];

buildInputs = [ openssl ];

makeFlags = [ "PREFIX=$(out)" ];

NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";

meta = with stdenv.lib; {
description = "A collection of tools to download books from Google Books";
homepage = https://njw.me.uk/getxbook/;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/misc/netsurf/libwapcaplet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];

NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";

meta = with stdenv.lib; {
homepage = http://www.netsurf-browser.org/;
description = "String internment library for netsurf browser";
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/networking/cluster/mesos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [
pythonProtobuf
];

NIX_CFLAGS_COMPILE = "-Wno-error=format-overflow -Wno-error=class-memaccess";

preConfigure = ''
# https://issues.apache.org/jira/browse/MESOS-6616
configureFlagsArray+=(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{ stdenv, fetchgit, pkgconfig, pidgin, libwebp, libgcrypt, gettext } :

let
version = "1.3.0";
version = "1.3.1";
in
stdenv.mkDerivation rec {
pname = "telegram-purple";
inherit version;

src = fetchgit {
url = "https://github.com/majn/telegram-purple";
rev = "0340e4f14b2480782db4e5b9242103810227c522";
sha256 = "1xb7hrgisbpx00dsrm5yz934bdd7nfzicd7k855iynk3hjzqj7k5";
rev = "v${version}";
sha256 = "0p93jpjpx7hszwffzgixw04zkrpsiyzz4za3gfr4j07krc4771fp";
};

NIX_CFLAGS_COMPILE = [ "-Wno-error=cast-function-type" ];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pidgin libwebp libgcrypt gettext ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/irc/bip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
})
];

NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" "-Wno-error=duplicate-decl-specifier" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" "-Wno-error=duplicate-decl-specifier" "-Wno-error=format-truncation" ];

meta = {
description = "An IRC proxy (bouncer)";
Expand Down
10 changes: 9 additions & 1 deletion pkgs/applications/science/biology/ants/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, makeWrapper, itk, vtk }:
{ stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, itk, vtk }:

stdenv.mkDerivation rec {
_name = "ANTs";
Expand All @@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "1hrdwv3m9xh3yf7l0rm2ggxc2xzckfb8srs88g485ibfszx7i03q";
};

patches = [
# Fix build with gcc8
(fetchpatch {
url = "https://github.com/ANTsX/ANTs/commit/89af9b2694715bf8204993e032fa132f80cf37bd.patch";
sha256 = "1glkrwa1jmxxbmzihycxr576azjqby31jwpj165qc54c91pn0ams";
})
];

nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ itk vtk ];

Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/chez/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";

/*
** We patch out a very annoying 'feature' in ./configure, which
** tries to use 'git' to update submodules.
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/edk2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ edk2 = stdenv.mkDerivation {
buildInputs = [ libuuid pythonEnv ];

makeFlags = [ "-C BaseTools" ];
NIX_CFLAGS_COMPILE = "-Wno-return-type -Wno-error=stringop-truncation";

hardeningDisable = [ "format" "fortify" ];

Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/compilers/gcc/8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ stdenv.mkDerivation ({
stdenv.lib.platforms.freebsd ++
stdenv.lib.platforms.illumos ++
stdenv.lib.platforms.darwin;

# See #40038
broken = stdenv.isDarwin;
};
}

Expand Down
16 changes: 12 additions & 4 deletions pkgs/development/compilers/iasl/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{stdenv, fetchurl, bison, flex}:
{stdenv, fetchurl, fetchpatch, bison, flex}:

stdenv.mkDerivation rec {
pname = "iasl";
version = "20181213";
version = "20190108";

src = fetchurl {
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
sha256 = "1vgqlv9pvxc52faxixpgz7hi1awqmj88bw5vqn3bldf6fmkh147w";
sha256 = "0bqhr3ndchvfhxb31147z8gd81dysyz5dwkvmp56832d0js2564q";
};

NIX_CFLAGS_COMPILE = "-O3";
NIX_CFLAGS_COMPILE = [
"-O3"
];

buildFlags = "iasl";

buildInputs = [ bison flex ];

patches = fetchpatch {
/* https://github.com/acpica/acpica/pull/389 */
url = "https://github.com/acpica/acpica/commit/935ca65f7806a3ef9bd02a947e50f3a1f586ac67.patch";
sha256 = "0jz4bakifphm425shbd1j99hldgy71m7scl8mwibm441d56l3ydf";
};

installPhase =
''
install -d $out/bin
Expand Down
60 changes: 0 additions & 60 deletions pkgs/development/compilers/llvm/3.8/D17533-1.patch

This file was deleted.

Loading