Skip to content
Merged
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
5 changes: 5 additions & 0 deletions pkgs/applications/emulators/resim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@ stdenv.mkDerivation {
cp -v vc4emul/vc4emul $out/bin/vc4emul
'';

cmakeFlags = [
# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta.license = lib.licenses.mit;
}
2 changes: 2 additions & 0 deletions pkgs/applications/misc/edgetx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ mkDerivation rec {
"-DGTEST_ROOT=${gtest.src}/googletest"
"-DQT_TRANSLATIONS_DIR=${qttranslations}/translations"
"-DDFU_UTIL_PATH=${dfu-util}/bin/dfu-util"
# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta = with lib; {
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/misc/opentx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ mkDerivation rec {
# XXX I would prefer to include these here, though we will need to file a bug upstream to get that changed.
#"-DDFU_UTIL_PATH=${dfu-util}/bin/dfu-util"
#"-DAVRDUDE_PATH=${avrdude}/bin/avrdude"

# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta = with lib; {
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/science/logic/monosat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ let
"-DBUILD_STATIC=OFF"
"-DJAVA=${boolToCmake includeJava}"
"-DGPL=${boolToCmake includeGplCode}"

# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

postInstall = optionalString includeJava ''
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/science/misc/simgrid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ stdenv.mkDerivation rec {
"-Denable_compile_warnings=off"
"-Denable_compile_optimizations=${optionOnOff optimize}"
"-Denable_lto=${optionOnOff optimize}"

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];
makeFlags = optional debug "VERBOSE=1";

Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/libraries/fltk/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ stdenv.mkDerivation rec {
"-DOPTION_INSTALL_HTML_DOCUMENTATION=${onOff withDocs}"
"-DOPTION_INSTALL_PDF_DOCUMENTATION=OFF"
"-DOPTION_INCLUDE_DRIVER_DOCUMENTATION=${onOff withDocs}"

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

preBuild = lib.optionalString (withCairo && withShared && stdenv.hostPlatform.isDarwin) ''
Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/libraries/libvisio2svg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ libxml2 freetype librevenge libvisio libwmf libemf2svg ];

cmakeFlags = [
# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta = with lib; {
description = "Library and tools to convert Microsoft Visio documents (VSS and VSD) to SVG";
homepage = "https://github.com/kakwa/libvisio2svg";
Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/libraries/openhmd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
"-DOPENHMD_EXAMPLE_SIMPLE=${examplesOnOff}"
"-DOPENHMD_EXAMPLE_SDL=${examplesOnOff}"
"-DOpenGL_GL_PREFERENCE=GLVND"

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

postInstall = lib.optionalString withExamples ''
Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/tools/misc/sipp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
"-DUSE_PCAP=1"
"-DUSE_SSL=1"
"-DUSE_SCTP=${if stdenv.isLinux then "1" else "0"}"

# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];
enableParallelBuilding = true;

Expand Down
3 changes: 3 additions & 0 deletions pkgs/servers/geospatial/mapserver/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ stdenv.mkDerivation rec {
"-DWITH_CURL=ON"
"-DWITH_CLIENT_WMS=ON"
"-DWITH_CLIENT_WFS=ON"

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
] ++ lib.optional withPython "-DWITH_PYTHON=ON";

meta = with lib; {
Expand Down
5 changes: 4 additions & 1 deletion pkgs/tools/networking/shadowsocks-libev/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake asciidoc xmlto docbook_xml_dtd_45
docbook_xsl libxslt ];

cmakeFlags = [ "-DWITH_STATIC=OFF" "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON" ];
cmakeFlags = [ "-DWITH_STATIC=OFF" "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

postInstall = ''
cp lib/* $out/lib
Expand Down