Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion pkgs/applications/audio/kid3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
phonon automoc4 chromaprint id3lib taglib mp4v2 flac libogg libvorbis
qt zlib readline makeWrapper ];

cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DWITH_APPS=Qt;CLI" ];
cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
NIX_LDFLAGS = "-lm -lpthread";

preConfigure = ''
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/misc/doomseeker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ stdenv.mkDerivation rec {
sha256 = "172ybxg720r64hp6aah0hqvxklqv1cf8v7kwx0ng5ap0h20jydbw";
};

cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];

buildInputs = [ qt4 zlib bzip2 ];

nativeBuildInputs = [ cmake pkgconfig ];
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/misc/webthree-umbrella/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ stdenv.mkDerivation rec {
};

cmakeFlags = with stdenv.lib; concatStringsSep " " (flatten [
"-DCMAKE_BUILD_TYPE=Release"
"-DGUI=${toString withGUI}"
"-DETHASHCL=${toString withOpenCL}"
"-DPROFILING=${toString withProfiling}"
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/networking/browsers/midori/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ stdenv.mkDerivation rec {
zeitgeist
];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
cmakeFlags = [
"-DUSE_ZEITGEIST=${if zeitgeistSupport then "ON" else "OFF"}"
"-DHALF_BRO_INCOM_WEBKIT2=ON"
"-DUSE_GTK3=1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ stdenv.mkDerivation {
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${phonon}/lib64/pkgconfig:${phonon}/lib32/pkgconfig"
'';

cmakeFlags = "-DENABLE_AUTODOWNLOAD=OFF -DBUILD_DESCRIPTION='NixOS' -DCMAKE_BUILD_TYPE=Release";
cmakeFlags = "-DENABLE_AUTODOWNLOAD=OFF -DBUILD_DESCRIPTION='NixOS'";

prePatch = ''
patchShebangs .
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/science/electronics/caneda/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ stdenv.mkDerivation rec {
sha256 = "dfbcac97f5a1b41ad9a63392394f37fb294cbf78c576673c9bc4a5370957b2c8";
};

cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];

buildInputs = [ cmake qt4 libxml2 libxslt ];

postInstall = ''
Expand Down
7 changes: 3 additions & 4 deletions pkgs/applications/science/electronics/kicad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ stdenv.mkDerivation rec {
sha256 = "0vrzykgxx423iwgz6186bi8724kmbi5wfl92gfwb3r6mqammgwpg";
})
];

sourceRoot = "kicad-${version}";

cmakeFlags = ''
-DCMAKE_BUILD_TYPE=Release
-DKICAD_SKIP_BOOST=ON
-DKICAD_BUILD_VERSION=${version}
-DKICAD_REPO_NAME=stable
Expand All @@ -43,7 +42,7 @@ stdenv.mkDerivation rec {

postUnpack = ''
pushd $(pwd)
'';
'';

postInstall = ''
popd
Expand All @@ -53,7 +52,7 @@ stdenv.mkDerivation rec {
make $MAKE_FLAGS
make install
popd

pushd kicad-footprints-*
mkdir -p $out/share/kicad/modules
cp -R *.pretty $out/share/kicad/modules/
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/science/logic/lean/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ stdenv.mkDerivation rec {
cd src
'';

cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];

postInstall = ''
wrapProgram $out/bin/linja --prefix PATH : $out/bin:${ninja}/bin
'';
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/compilers/hhvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ stdenv.mkDerivation rec {
patchShebangs .
'';

cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];

meta = {
description = "High-performance JIT compiler for PHP/Hack";
homepage = "http://hhvm.com";
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.4/clang.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake libedit libxml2 zlib ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
] ++
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.4/lld.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake ncurses zlib python ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLD_PATH_TO_LLVM_BUILD=${llvm}"
];
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.4/lldb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake python which swig ncurses zlib libedit ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang}"
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.4/polly.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake isl python gmp ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLVM_INSTALL_ROOT=${llvm}"
];
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.5/clang.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ in stdenv.mkDerivation {
buildInputs = [ cmake libedit libxml2 llvm ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
] ++
# Maybe with compiler-rt this won't be needed?
Expand Down
13 changes: 6 additions & 7 deletions pkgs/development/compilers/llvm/3.5/libc++/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ stdenv.mkDerivation rec {

buildInputs = [ cmake libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;

cmakeFlags =
[ "-DCMAKE_BUILD_TYPE=Release"
"-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=${libcxxabi}/include"
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];
cmakeFlags = [
"-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=${libcxxabi}/include"
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];

enableParallelBuilding = true;

Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.5/lld.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake ncurses zlib python ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLD_PATH_TO_LLVM_BUILD=${llvm}"
];
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.5/lldb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake python which swig ncurses zlib libedit ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang}"
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.5/polly.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake isl python gmp ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLVM_INSTALL_ROOT=${llvm}"
];
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.6/clang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ let
buildInputs = [ cmake libedit libxml2 llvm ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
] ++
# Maybe with compiler-rt this won't be needed?
Expand Down
13 changes: 6 additions & 7 deletions pkgs/development/compilers/llvm/3.6/libc++/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ stdenv.mkDerivation rec {

buildInputs = [ cmake libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;

cmakeFlags =
[ "-DCMAKE_BUILD_TYPE=Release"
"-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=${libcxxabi}/include"
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];
cmakeFlags = [
"-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=${libcxxabi}/include"
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];

enableParallelBuilding = true;

Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.6/lldb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake python which swig ncurses zlib libedit ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang-unwrapped}"
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.7/clang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ let
buildInputs = [ cmake libedit libxml2 llvm ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
] ++
# Maybe with compiler-rt this won't be needed?
Expand Down
11 changes: 5 additions & 6 deletions pkgs/development/compilers/llvm/3.7/libc++/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ stdenv.mkDerivation rec {

buildInputs = [ cmake libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;

cmakeFlags =
[ "-DCMAKE_BUILD_TYPE=Release"
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];
cmakeFlags = [
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];

enableParallelBuilding = true;

Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.7/lldb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ stdenv.mkDerivation {
'';

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang-unwrapped}"
"-DPYTHON_VERSION_MAJOR=2"
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.8/clang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ let
buildInputs = [ cmake libedit libxml2 llvm python ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_FLAGS=-std=c++11"
] ++
# Maybe with compiler-rt this won't be needed?
Expand Down
11 changes: 5 additions & 6 deletions pkgs/development/compilers/llvm/3.8/libc++/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ stdenv.mkDerivation rec {

buildInputs = [ cmake libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;

cmakeFlags =
[ "-DCMAKE_BUILD_TYPE=Release"
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];
cmakeFlags = [
"-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
"-DLIBCXX_LIBCPPABI_VERSION=2"
"-DLIBCXX_CXX_ABI=libcxxabi"
];

enableParallelBuilding = true;

Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/llvm/3.8/lldb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ stdenv.mkDerivation {
'';

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLVM_MAIN_INCLUDE_DIR=${llvm}/include"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang-unwrapped}"
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/mono/llvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ stdenv.mkDerivation rec {
postBuild = "rm -fR $out";

cmakeFlags = with stdenv; [
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_ENABLE_FFI=ON"
"-DLLVM_BINUTILS_INCDIR=${binutils.dev}/include"
"-DCMAKE_CXX_FLAGS=-std=c++11"
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/cpp-netlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ stdenv.mkDerivation rec {

cmakeFlags = [
"-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
"-DCMAKE_BUILD_TYPE=RELEASE"
];

enableParallelBuilding = true;
Expand Down
4 changes: 0 additions & 4 deletions pkgs/development/libraries/openbr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
];

meta = {
description = "Open Source Biometric Recognition";
homepage = http://openbiometrics.org/;
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/stxxl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_STATIC_LIBS=OFF"
"-DCMAKE_BUILD_TYPE=Release"
(mkFlag parallel "USE_GNU_PARALLEL")
];

Expand Down
4 changes: 0 additions & 4 deletions pkgs/games/eternity-engine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ stdenv.mkDerivation rec {
sha256 = "0jq8q0agw7lgab9q2h8wcaakvg913l9j3a6ss0hn9661plkw2yb4";
};

cmakeFlags = ''
-DCMAKE_BUILD_TYPE=Release
'';

buildInputs = [ stdenv cmake mesa SDL SDL_mixer SDL_net ];

enableParallelBuilding = true;
Expand Down
4 changes: 0 additions & 4 deletions pkgs/games/odamex/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ stdenv.mkDerivation rec {
sha256 = "0cb6p58yv55kdyfj7s9n9xcwpvxrj8nyc6brw9jvwlc5n4y3cd5a";
};

cmakeFlags = ''
-DCMAKE_BUILD_TYPE=Release
'';

buildInputs = [ cmake pkgconfig SDL SDL_mixer SDL_net ];

enableParallelBuilding = true;
Expand Down
7 changes: 5 additions & 2 deletions pkgs/games/openspades/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ stdenv.mkDerivation rec {
sed '1i#include <math.h>' -i Sources/Draw/SWFeatureLevel.h
'';

nativeBuildInputs =
nativeBuildInputs =
[ cmake curl glew makeWrapper mesa SDL2 SDL2_image unzip wget zlib ]
++ lib.optional withOpenal openal;

cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DOPENSPADES_INSTALL_BINARY=bin" "-DOPENSPADES_RESOURCES=NO" ];
cmakeFlags = [
"-DOPENSPADES_INSTALL_BINARY=bin"
"-DOPENSPADES_RESOURCES=NO"
];

enableParallelBuilding = true;

Expand Down
7 changes: 5 additions & 2 deletions pkgs/games/openspades/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ stdenv.mkDerivation rec {

postPatch = "sed '1i#include <cmath>' -i Sources/Client/{,Client}Player.cpp";

nativeBuildInputs =
nativeBuildInputs =
with stdenv.lib;
[ cmake curl glew makeWrapper mesa SDL2 SDL2_image unzip wget zlib ]
++ lib.optional withOpenal openal;

cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DOPENSPADES_INSTALL_BINARY=bin" "-DOPENSPADES_RESOURCES=NO" ];
cmakeFlags = [
"-DOPENSPADES_INSTALL_BINARY=bin"
"-DOPENSPADES_RESOURCES=NO"
];

#enableParallelBuilding = true;

Expand Down
1 change: 0 additions & 1 deletion pkgs/misc/emulators/dolphin-emu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
-DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0
-DCMAKE_BUILD_TYPE=Release
-DENABLE_LTO=True
'';

Expand Down
1 change: 0 additions & 1 deletion pkgs/misc/emulators/dolphin-emu/master.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
-DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0
-DCMAKE_BUILD_TYPE=Release
-DENABLE_LTO=True
'';

Expand Down
Loading