fityk: add -std=c++11 flag for gcc11 and later

This commit is contained in:
Fabián Heredia Montiel 2022-04-16 00:09:03 -05:00
parent 8c5a58144d
commit 5275050ab0

View file

@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
buildInputs = [ wxGTK30 boost lua zlib bzip2 xylib readline
gnuplot swig3 ];
NIX_CFLAGS_COMPILE = [
"-std=c++11"
];
meta = {
description = "Curve fitting and peak fitting software";
license = lib.licenses.gpl2;