tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fix LD_PRELOAD error for bear
babariviere
8 years ago
69674983
8d3aa2f2
+16
-2
3 changed files
expand all
collapse all
unified
split
lib
maintainers.nix
pkgs
development
tools
build-managers
bear
cmakepaths.patch
default.nix
+1
lib/maintainers.nix
···
71
71
auntie = "Jonathan Glines <auntieNeo@gmail.com>";
72
72
avnik = "Alexander V. Nikolaev <avn@avnik.info>";
73
73
aycanirican = "Aycan iRiCAN <iricanaycan@gmail.com>";
74
74
+
babariviere = "Bastien Riviere <babariviere@protonmail.com>";
74
75
bachp = "Pascal Bach <pascal.bach@nextrem.ch>";
75
76
backuitist = "Bruno Bieth";
76
77
badi = "Badi' Abdul-Wahid <abdulwahidc@gmail.com>";
+13
pkgs/development/tools/build-managers/bear/cmakepaths.patch
···
1
1
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2
2
+
index 04c5c58..429ca47 100644
3
3
+
--- a/CMakeLists.txt
4
4
+
+++ b/CMakeLists.txt
5
5
+
@@ -24,7 +24,7 @@ set(CMAKE_OSX_ARCHITECTURES "i386;x86_64" CACHE STRING "Rogue")
6
6
+
7
7
+
set(EAR_LIB_FILE ${CMAKE_SHARED_LIBRARY_PREFIX}ear${CMAKE_SHARED_LIBRARY_SUFFIX})
8
8
+
set(EAR_LIB_PATH "${CMAKE_INSTALL_LIBDIR}/bear")
9
9
+
-set(DEFAULT_PRELOAD_FILE ${CMAKE_INSTALL_PREFIX}/${EAR_LIB_PATH}/${EAR_LIB_FILE} CACHE STRING "Default path to libear.")
10
10
+
+set(DEFAULT_PRELOAD_FILE ${EAR_LIB_PATH}/${EAR_LIB_FILE} CACHE STRING "Default path to libear.")
11
11
+
12
12
+
add_subdirectory(libear)
13
13
+
add_subdirectory(bear)
+2
-2
pkgs/development/tools/build-managers/bear/default.nix
···
16
16
17
17
doCheck = false; # all fail
18
18
19
19
-
patches = [ ./ignore_wrapper.patch ];
19
19
+
patches = [ ./ignore_wrapper.patch ./cmakepaths.patch ];
20
20
21
21
meta = with stdenv.lib; {
22
22
description = "Tool that generates a compilation database for clang tooling";
···
28
28
homepage = https://github.com/rizsotto/Bear;
29
29
license = licenses.gpl3Plus;
30
30
platforms = platforms.unix;
31
31
-
maintainers = [ maintainers.vcunat ];
31
31
+
maintainers = [ maintainers.vcunat maintainers.babariviere ];
32
32
};
33
33
}