mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
rPackages.universalmotif: fix build
No need to try to strip debug symbols, Nix will do it anyway
This commit is contained in:
parent
3f13bc4fef
commit
03612d86ad
@ -1194,6 +1194,10 @@ let
|
||||
];
|
||||
});
|
||||
|
||||
universalmotif = old.universalmotif.overrideAttrs (attrs: {
|
||||
patches = [ ./patches/universalmotif.patch];
|
||||
});
|
||||
|
||||
V8 = old.V8.overrideAttrs (attrs: {
|
||||
postPatch = ''
|
||||
substituteInPlace configure \
|
||||
|
10
pkgs/development/r-modules/patches/universalmotif.patch
Normal file
10
pkgs/development/r-modules/patches/universalmotif.patch
Normal file
@ -0,0 +1,10 @@
|
||||
diff --git a/src/Makevars b/src/Makevars
|
||||
index 6e08950..e66fbbd 100644
|
||||
--- a/src/Makevars
|
||||
+++ b/src/Makevars
|
||||
@@ -1,5 +1 @@
|
||||
CXX_STD=CXX11
|
||||
-PKG_LIBS=`"$(R_HOME)/bin/Rscript" -e "RcppThread::LdFlags()"`
|
||||
-strippedLib: $(SHLIB)
|
||||
- if test -e "/usr/bin/strip" & test -e "/bin/uname" & [[ `uname` == "Linux" ]] ; then /usr/bin/strip --strip-debug $(SHLIB); fi
|
||||
-.phony: strippedLib
|
Loading…
Reference in New Issue
Block a user