Ben Wolsieffer
9b1ef47ae3
spidermonkey_78: fix build on armv7l
...
Adds a patch from Debian to fix a build failure on armv7l.
(cherry picked from commit 1b1e681d77dc0452c4b557aa6e10f2e02e0650ca)
2021-08-25 10:18:56 +00:00
Ben Wolsieffer
cab8dfb6f6
linux/common-config.nix: disable LPAE on armv7l-linux
...
LPAE was enabled to support native armv7l builders running in QEMU on aarch64,
but this option disables support for processors which don't support LPAE, which
are still relatively common. In particular, Beaglebones use the Cortex-A8, which
doesn't support LPAE.
Also, if you attempt to boot an LPAE kernel on a CPU that doesn't support it,
it fails before even earlycon is initialized. This makes the problem difficult
to debug without enabling CONFIG_DEBUG_LL or using a hardware debugger.
(cherry picked from commit 988c12faed96159fd5902f3bc372739c111206ef)
2021-07-30 19:44:27 +00:00
Ben Wolsieffer
8c6a3a60e5
libccd: fix pkgconfig file paths
...
libccd has the common bug of assuming CMAKE_INSTALL_*DIR is relative. I have
submitted the fix upstream, but don't have much hope of getting it merged
because there have been no updates since 2018.
(cherry picked from commit 3d2092ab58fe83e89a3162728e9d4b733295b561)
2021-06-01 16:06:26 +00:00
Ben Wolsieffer
cd49262ab2
octomap: 1.9.6 -> 1.9.7
2021-05-21 16:29:30 -07:00
Ben Wolsieffer
9d6134ae6d
rustc: allowing building for ARMv5
...
toRustTarget needed to handle the armv5tel case
2021-05-15 11:43:51 -04:00
Ben Wolsieffer
e7ac3946b4
fcl: add upstream patches to fix build on ARM
...
Previously, SSE was unconditionally enabled, which can't work on ARM.
2021-05-15 11:23:25 -04:00
Ben Wolsieffer
f3c7a6c56a
fcl: init at 0.6.1
2021-05-15 10:58:31 -04:00
Ben Wolsieffer
4e0d914db7
libccd: init at 2.1
2021-05-15 10:58:31 -04:00
Ben Wolsieffer
cba07da6b1
octomap: init at 1.9.6
2021-05-15 10:58:26 -04:00
Ben Wolsieffer
eb5bf4d718
buildbot: 3.1.0 -> 3.1.1
2021-05-13 21:04:15 -04:00
Ben Wolsieffer
6e3b082026
qgroundcontrol: 4.1.2 -> 4.1.3
2021-05-13 20:24:22 -04:00
Ben Wolsieffer
37934f8ca3
python3Packages.pymavlink: license should be lgpl3Plus
...
The license file doesn't specify that later versions can be used, but I missed
that it is stated in the README: "pymavlink is released under the GNU Lesser
General Public License v3 or later."
2021-05-12 22:52:52 -04:00
Ben Wolsieffer
09ac4d615a
mavproxy: clarify license as gpl3Plus
...
The README states: "MAVProxy is released under the GNU General Public License v3
or later"
2021-05-12 22:51:36 -04:00
Ben Wolsieffer
7d652d0c23
mavproxy: 1.8.34 -> 1.8.36
2021-05-12 22:48:04 -04:00
Ben Wolsieffer
261b8a48a1
liburing: fix build on 32-bit ARM
...
Apply an upstream patch to fix compiling some of the tests.
2021-04-23 16:07:46 -04:00
Ben Wolsieffer
41d646f758
tmux: fix cross-compilation
2021-04-23 14:15:06 -04:00
Ben Wolsieffer
7d262afed3
python3Packages.pymavlink: 2.4.14 -> 2.4.15 ( #120139 )
2021-04-23 06:53:54 +02:00
Ben Wolsieffer
8a91c70ec1
gnutls: remove upstreamed armv7l patch
2021-04-16 00:14:30 -04:00
Ben Wolsieffer
1e52d002bb
qgroundcontrol: 4.1.1 -> 4.1.2
2021-04-08 00:04:07 -04:00
Ben Wolsieffer
4decd156ea
rkdeveloptool: unstable-2019-07-01 -> unstable-2021-02-03, fix build ( #118707 )
2021-04-07 09:51:21 +02:00
Ben Wolsieffer
8dd8ee4487
buildbot: 3.0.2 -> 3.1.0
2021-04-07 00:21:38 -04:00
Ben Wolsieffer
8178d877ac
go: fix bootstrapping on 32-bit ARM
...
On 32-bit ARM, the wrong name was used for the prebuilt bootstrap tarball,
causing an eval failure.
2021-03-18 18:59:34 +10:00
Ben Wolsieffer
7bb990871d
buildbot: 3.0.0 -> 3.0.2 ( #116577 )
2021-03-17 00:46:58 -04:00
Ben Wolsieffer
ee9b92ddf8
cutecom: install desktop file and man pages
2021-03-11 13:25:38 +01:00
Ben Wolsieffer
fc04cf152d
cutecom: remove no longer needed patching
2021-03-11 13:25:38 +01:00
Ben Wolsieffer
7922fbc19c
buildbot: 2.10.1 -> 3.0.0
2021-03-08 19:46:22 -05:00
Ben Wolsieffer
d59047a774
python3Packages.pypugjs: 5.9.8 -> 5.9.9
2021-03-06 19:09:53 -05:00
Ben Wolsieffer
e603b1cec7
python3Packages.cbor2: disable failing tests on 32-bit platforms ( #115219 )
2021-03-06 02:52:09 +01:00
Ben Wolsieffer
618bcb8cdb
libical: fix cross-compilation again
...
The naming of CMake option required to enable cross-compiling was revised when
the patch was accepted upstream.
2021-03-01 18:56:52 -05:00
Ben Wolsieffer
87768f2fed
spidermonkey: use LLVM 11
...
Now that rustc has moved to LLVM 11, this prevent needing to build two LLVM
versions.
2021-02-20 08:54:24 +01:00
Ben Wolsieffer
7b573e8051
lib/systems/platforms: remove TI_CPTS override
...
Forcing the module to be builtin breaks 5.10, which wants to compile it as a
module (probably due to dependencies). There doesn't seem to be a need to have
it builtin anymore, so we can just remove the override.
2021-02-15 11:23:17 -05:00
Ben Wolsieffer
1e1588898b
lib/systems/platforms: note that RPi 3 fixes aren't needed for kernel >=4.17
2021-02-15 11:23:17 -05:00
Ben Wolsieffer
9a635d38b6
qgroundcontrol: 4.0.11 -> 4.1.1
2021-02-06 15:15:22 -05:00
Ben Wolsieffer
4fc9672a26
buildbot: 2.10.0 -> 2.10.1
2021-02-05 23:50:30 -05:00
Ben Wolsieffer
986a0c5d9a
linuxPackagesFor: fix overriding kernel attribute
...
The "kernel" argument to linuxPackagesFor was taking precedence over the
"self.kernel" attribute brought into scope by the "with self;" statement. This
prevented the makeExtensible machinery from working correctly when "kernel"
was overridden.
2021-02-03 20:31:22 -05:00
Ben Wolsieffer
f413b2bc51
Revert "nixos/kernel.nix: ensure same kernel is used"
...
This reverts commit 78f915a002 .
2021-02-03 20:31:22 -05:00
Ben Wolsieffer
2ea93a493c
maintainers: add liamdiprose
2021-02-03 19:31:19 -05:00
Ben Wolsieffer
945a461ac2
nixos/buildbot: fix type for pythonPackages
...
The pythonPackages option is a function that returns a list of packages, but the
type was specified as just a list of packages.
2021-01-31 17:40:12 -05:00
Ben Wolsieffer
d877c9b39c
nixos/buildbot: add lopsided98 as maintainer
2021-01-31 17:40:11 -05:00
Ben Wolsieffer
03ef0aae0a
spdlog: propagate fmt
...
fmt is needed by the CMake config script.
2021-01-24 20:46:01 -05:00
Ben Wolsieffer
478efc7363
buildbot: 2.9.4 -> 2.10.0
2021-01-02 23:48:40 -05:00
Ben Wolsieffer
d3e0f5bc91
pythonPackages.sqlalchemy-migrate: 0.12.0 -> 0.13.0
2021-01-02 23:48:02 -05:00
Ben Wolsieffer
92e3304792
qgroundcontrol: 4.0.10 -> 4.0.11
2021-01-01 22:22:20 -05:00
Ben Wolsieffer
60794754ff
buildbot: 2.9.2 -> 2.9.4
2021-01-01 12:30:54 -05:00
Ben Wolsieffer
1a65c5df5f
cpython: fix finding headers when cross-compiling extension modules
2020-12-28 13:09:00 +01:00
Ben Wolsieffer
c0681ac66a
openssh: fix cross-compilation after #100906
...
krb5-config from the host platform needs to be added to PATH so it can be run
during build. This works because krb5-config is a platform independent
shell-script. Before #100906 , krb5-config was not used, so we didn't run into
this problem.
2020-12-25 18:36:21 -05:00
Ben Wolsieffer
5a923e552c
rustc: add host platform to --target when building cross-compiler
...
As of 1.48, std is only built for platforms in --target. If the host platform is
not included, the resulting rustc can't compile build.rs scripts.
2020-12-12 15:24:55 -05:00
Ben Wolsieffer
16666a7177
pythonPackages.pypugjs: 5.9.7 -> 5.9.8
2020-12-09 01:17:16 -05:00
Ben Wolsieffer
ec7838747c
buildbot: 2.9.1 -> 2.9.2
2020-12-08 22:16:52 -05:00
Ben Wolsieffer
2b8515d770
pythonPackages.pypugjs: 5.9.6 -> 5.9.7
2020-12-08 22:16:33 -05:00
Ben Wolsieffer
9f9b2a4677
buildbot: 2.9.0 -> 2.9.1
2020-12-05 18:48:37 -05:00
Ben Wolsieffer
efabdf3db9
python3Packages.buildbot-pkg: use pythonImportsCheck
2020-12-05 13:43:40 -05:00
Ben Wolsieffer
920f970a5a
pythonPackages.pyjade: remove
...
pyjade is superseded by pypugjs and was only used by buildbot
2020-12-04 19:36:22 -05:00
Ben Wolsieffer
f44481ffbc
buildbot: 2.8.4 -> 2.9.0
2020-12-04 19:35:15 -05:00
Ben Wolsieffer
d47d113004
pythonPackages.pypugjs: init at 5.9.6
...
The Jade language was renamed to Pug, and this is the new Python package to
support it. It is also better maintained than pyjade.
2020-12-04 19:31:06 -05:00
Ben Wolsieffer
8c479059b9
buildRustCrate: add host platform to rlib hash suffix
2020-11-28 22:25:11 -05:00
Ben Wolsieffer
2857455b03
rustc: allow building for musl targets
2020-11-28 22:15:35 -05:00
Ben Wolsieffer
053c8d85f0
pythonPackages.pykdl: fix build with latest SIP
...
Backport an upstream patch to fix the build. Only needed to build the Python
bindings, not orocos-kdl.
2020-11-23 21:12:10 -05:00
Ben Wolsieffer
0f66d95328
nixos/syncoid: test both with and without --no-sync-snap
2020-11-22 12:36:01 -08:00
Ben Wolsieffer
f54266824d
gnutls: fix build on 32-bit ARM
...
Add an upstream patch to fix failing tests. The patch actually affects gnulib,
which is included as a vendored dependency.
2020-11-21 20:02:22 -05:00
Ben Wolsieffer
1e1560649c
pythonPackages.grpcio-tools: split outputs to reduce runtime closure
...
protobuf propagates build-arch protobuf, and this prevents it from ending up in
the runtime closure.
2020-11-19 22:05:10 +01:00
Ben Wolsieffer
9518714926
pythonPackages.grpcio: split outputs to avoid runtime build references
...
protobuf propagates build-arch protobuf, and this commit prevents it from
ending up in grpcio's runtime closure.
2020-11-19 22:05:10 +01:00
Ben Wolsieffer
f7ec01ab6c
mailutils: fix cross-compilation
...
Add a patch that I submitted upstream to fix cross-compilation.
2020-11-19 21:51:25 +01:00
Ben Wolsieffer
a4c39a624c
mailutils: 3.9 -> 3.10
2020-11-19 21:51:25 +01:00
Ben Wolsieffer
82a9f2331c
bind: fix cross-compilation
...
Upstream accidently broke cross-compilation. It has been fixed but not released
yet, so we temporarily add the patch here.
2020-11-19 21:49:19 +01:00
Ben Wolsieffer
6501d9880c
talloc: fix cross-compilation to 32-bit platforms
2020-11-19 20:42:59 +01:00
Ben Wolsieffer
11806b6ede
cpython: fix finding headers when cross-compiling extension modules
2020-11-19 20:42:58 +01:00
Ben Wolsieffer
0f5235b688
findutils: fix build on 32-bit ARM
...
Add an upstream patch to fix failing tests. The patch actually affects gnulib,
which is included as a vendored dependency.
2020-11-15 17:17:31 -05:00
Ben Wolsieffer
b70430a3dd
coreutils: fix build on 32-bit ARM
...
Adds an upstream patch to fix failing tests. The patch actually affects gnulib,
which is included as a vendored dependency.
2020-11-15 17:17:31 -05:00
Ben Wolsieffer
4366281075
writers.writeNginxConfig: fix cross-compilation
...
Native versions of awk, sed and gixy need to be used.
2020-10-29 21:39:22 -04:00
Ben Wolsieffer
e379149887
nanopb: 0.4.1 -> 0.4.3
...
Upstream changes allow us to remove most of the hacks from the package.
2020-10-28 20:18:16 -04:00
Ben Wolsieffer
b70ab2350a
liburing: fix cross-compilation
2020-10-26 20:33:43 -04:00
Ben Wolsieffer
8294af0284
nixos/avahi: fix nss module
...
mdns_minimal must be placed before resolve in nsswitch.conf
2020-10-11 20:15:13 +02:00
Ben Wolsieffer
0c97fffb15
bmon: fix cross-compilation
...
$PKG_CONFIG must be an absolute path
2020-10-11 20:05:31 +02:00
Ben Wolsieffer
cba24b487e
lm_sensors: fix cross-compilation
2020-10-07 21:40:29 -04:00
Ben Wolsieffer
fa6cdb63ab
alsa-utils: fix wrapper shebang when cross-compiling
2020-10-04 01:10:49 -04:00
Ben Wolsieffer
5642ee3d0e
pythonPackages.protobuf: fix cross-compilation
2020-09-30 00:47:29 -04:00
Ben Wolsieffer
56ef82d0cd
libical: fix cross-compilation
...
gobject-introspection cannot be cross-compiled, so disable it when
cross-compiling. The glib bindings attempt to run a binary compiled for the
host during the build, so add a patch that allows the binary to be provided
by buildPackages.libical.
2020-09-29 17:51:27 -04:00
Ben Wolsieffer
91bc6128b9
buildRustCrateTests: support cross-compilation
2020-09-29 14:33:49 -04:00
Ben Wolsieffer
f0fdecfbb4
buildRustCrate: fix target config environment variables on 32-bit ARM
2020-09-29 01:40:06 -04:00
Ben Wolsieffer
a0e7613509
defaultCrateOverrides: move pkgconfig to nativeBuildInputs
...
This fixes cross-compiling.
2020-09-28 19:47:52 -04:00
Ben Wolsieffer
295a6690f9
buildRustCrate: support cross compilation
2020-09-28 19:46:04 -04:00
Ben Wolsieffer
83162ab3b9
pythonPackages.pykdl: init at 1.4.0
2020-09-21 23:38:26 -07:00
Ben Wolsieffer
ec92ffc530
orocos-kdl: init at 1.4.0
2020-09-21 23:38:26 -07:00
Ben Wolsieffer
b0edb341fb
buildbot: 2.8.2 -> 2.8.4
2020-09-21 11:08:08 -07:00
Ben Wolsieffer
d7e3e03558
perl: use $hostOffset instead of $targetOffset in cross setup hook
2020-08-23 14:55:54 -04:00
Ben Wolsieffer
195258a9e1
buildbot: fix build
...
Backport upstream patch to fix incompatibility with lastest SQLAlchemy.
2020-08-21 12:05:08 -07:00
Ben Wolsieffer
d61f1a4a5f
perl: rename miniperl output from dev to mini
2020-08-17 13:43:42 -04:00
Ben Wolsieffer
5c78ba8ef6
qgroundcontrol: 4.0.9 -> 4.0.10
2020-08-16 15:28:55 -04:00
Ben Wolsieffer
23b4356a5f
nixos/nixos-*: use runtimeShell
...
Fix shebangs and other shell uses in the NixOS tools, allowing them to work
correctly on cross-compiled systems.
2020-08-16 13:08:33 +00:00
Ben Wolsieffer
8f1de2e7c0
environment.noXlibs: disable X11 support in cairo
2020-08-16 10:33:44 +00:00
Ben Wolsieffer
98be04b83a
cairo: make OpenGL support require X11
...
If OpenGL is enabled without X11, the build fails with:
In file included from /nix/store/<...>-libglvnd-1.3.1-dev/include/EGL/egl.h:39,
from cairo-gl.h:130,
from cairo-gl-private.h:51,
from cairo-gl-composite.c:48:
/nix/store/<...>-libglvnd-1.3.1-dev/include/EGL/eglplatform.h:128:10: fatal error: X11/Xlib.h: No such file or directory
128 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
compilation terminated.
2020-08-16 10:33:44 +00:00
Ben Wolsieffer
6093f9eb6e
zstd: fix shebangs when cross-compiling
2020-08-15 08:32:57 +02:00
Ben Wolsieffer
53cdb95d10
crda: fix cross compilation
2020-08-13 14:20:54 -04:00
Ben Wolsieffer
b24c7c5306
geos: fix build on 32-bit ARM
2020-08-12 18:46:51 -04:00
Ben Wolsieffer
7f15e31671
python3Packages.wxPython_4_0: remove manual wrapPythonPrograms invocation
...
This was causing programs to be wrapped twice, as wrapping occurs automatically
during the fixup phase.
2020-08-06 12:54:43 -04:00
Ben Wolsieffer
8b76b92065
python3Packages.wxPython_4_0: enable format hardening
...
This was inherited from wxPython 3 and does not seem to be necessary.
2020-08-06 12:54:43 -04:00
Ben Wolsieffer
430936519c
python3Packages.wxPython_4_0: remove unused dependencies
...
The package contains no references to many of its declared dependencies, and
the build succeeds without them.
2020-08-06 12:54:41 -04:00
Ben Wolsieffer
ab5faea41e
nixos/stage-1: fix initrd secrets with custom compressor
2020-07-11 17:24:59 -04:00
Ben Wolsieffer
18c8866f77
stdenv: correctly make stdenv.system refer to the host platform
...
This was supposed to be done in 773233ca77 , but was not due to a small
mistake.
2020-07-11 16:06:08 -04:00