Commit Graph
100 Commits
Author SHA1 Message Date
Ben Gamari f8cef0d06e multi-ghc-travis: db63eb7f2ea -> 05926968f17 (#42171)
Just a routine bump; adds support for GHC 8.4.3.
2018-06-18 22:38:07 +02:00
Ben Gamari f4d4f5e65a kicad-unstable: 2018-03-10 -> 2018-06-12 2018-06-12 20:15:51 -04:00
Ben Gamari f9f0307f7a cmake: Only apply application-services.patch with 3.11
The patch doesn't apply with earlier versions. Fixes #41816.
2018-06-12 20:15:51 -04:00
Ben Gamari 5962d0d5f3 cmake: Only apply application-services.patch with 3.11
The patch doesn't apply with earlier versions. Fixes #41816.
2018-06-10 21:32:49 -04:00
Ben Gamari 86a778a80a avahi: Enable cross-compilation 2018-05-03 17:06:01 -04:00
Ben Gamari da48154158 glib: Enable cross-compilation
glib needs gettext for the build machine. Since gettext is also a
propagatedBuildInput I'm assuming that it's also used at runtime.
2018-05-03 17:06:01 -04:00
Ben Gamari 860c81d6f7 ldns: Enable cross-compilation 2018-05-03 17:06:01 -04:00
Ben Gamari 8b32cfdbc0 lib.systems.gnu: Accept gnueabi as a gnu platform 2018-05-03 17:06:01 -04:00
Ben Gamari a09aa86ece rng-tools: Enable cross-compilation 2018-05-03 17:06:00 -04:00
Ben Gamari d23f71deaa curl: Enable cross-compilation
By fixing toolchain paths
2018-05-03 17:06:00 -04:00
Ben Gamari 6971c503af runit: Enable cross-compilation 2018-05-03 17:06:00 -04:00
Ben Gamari d8c744b862 libnl: Enable parallel building
This is a long enough derivation to make this worthwhile.
2018-05-03 17:06:00 -04:00
Ben Gamari 10fa4a571c tcp-wrappers: Enable cross-compilation
This package, like so many others, assumes that ar is unprefixed.
2018-05-03 17:05:42 -04:00
Ben Gamari edd92f9182 net-tools: Enable cross-compilation 2018-05-03 17:04:50 -04:00
Ben Gamari 67e4ed9693 mmc-utils: Enable cross-compilation 2018-05-03 17:04:50 -04:00
Ben Gamari eaf71dd33e notmuch: 0.26.1 -> 0.26.2 2018-04-30 12:21:55 -04:00
Ben Gamari 89001d8d15 hplipWithPlugin_3_16_11: Refer to correct base derivation
This appears to be a cut-and-paste error.
2018-04-30 12:18:14 -04:00
Ben Gamari 8a07916fa9 hplip: 3.17.11 -> 3.18.3 2018-04-29 15:19:10 -04:00
Ben Gamari 7d68eadf37 nixos/acme: Fix broken post-stop script
Previously the script would contain an empty `if` block (which is invalid
syntax) if both `data.activationDelay == null` and `data.postRun == ""`. Fix
this by adding a no-op `true`.
2018-04-29 13:32:02 -04:00
Ben Gamari 192352ff2f nixos/cupsd: Introduce services.printing.logLevel option
Previously we indirectly suggested that the user use
services.printing.extraConf to set this, but this doesn't work with the
default merge ordering. Fix this by making it an independent option.
Fixes #39611.
2018-04-27 16:41:49 +00:00
Ben Gamari 65c1cfce3f nixos/networkd: Allow RequiredForOnline field in [Link] section
This was previously missing.
2018-04-27 16:41:16 +00:00
Ben Gamari b26ae506a9 git: Set PERL_PATH when building manual
Otherwise the build fails with the perplexing error

    make: *** No rule to make target 'cmd-list.made', needed by 'doc.dep'.  Stop.
    make: Leaving directory '/tmp/nix-build-git-2.16.3.drv-0/git-2.16.3/Documentation'

on NixOS (but not on Debian, where it succeeds, presumably since it picks up the
system perl).
2018-04-24 19:00:34 -04:00
Ben Gamari d111a42772 git: Enable cross-compilation 2018-04-24 14:58:58 -04:00
Ben Gamari 2d397f1b76 git: Allow perl support to be disabled 2018-04-24 14:58:58 -04:00
Ben Gamari 432df5b1cf git: Fix USE_LIBPCRE2 configuration
Previously this was injected during install, causing the build system to rebuild
the entire package.
2018-04-24 14:58:58 -04:00
Ben Gamari ae0a14d25d git: Refactor makeFlags using lib.optionals 2018-04-24 14:58:58 -04:00
Ben Gamari b9484875bc pythonPackages.Rtree: init at 0.8.3
This is a commonly-used package for spatial indexing.

Strangely enough, the tests are broken due to memory unsafety that I was unable
to reproduce under Debian. For instance, when run with Python 3.6 valgrind
reports,

==10453== Invalid read of size 4
==10453==    at 0x4EF1DFA: _PyObject_Free (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FE7D96: _PyFaulthandler_Fini (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F8438D: Py_FinalizeEx (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F9F398: Py_Main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x400BDF: main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/bin/python3.6)
==10453==  Address 0x67b1020 is 352 bytes inside a block of size 640 free'd
==10453==    at 0x4C2DD6B: free (in /nix/store/6z028lfnxyhh8dlngpm6zrkwqxmbglj4-valgrind-3.13.0/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10453==    by 0x4EDDC4A: free_keys_object (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EDEE63: dict_dealloc (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EECF59: module_clear (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA062B: collect (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA13A0: _PyGC_CollectNoFail (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F79CED: PyImport_Cleanup (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F8436F: Py_FinalizeEx (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F9F398: Py_Main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x400BDF: main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/bin/python3.6)
==10453==
==10453== Conditional jump or move depends on uninitialised value(s)
==10453==    at 0x4EF1E03: _PyObject_Free (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EFEF2D: type_dealloc (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EFD009: subtype_dealloc (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA063E: collect (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA13A0: _PyGC_CollectNoFail (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F79DF8: PyImport_Cleanup (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F8436F: Py_FinalizeEx (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F9F398: Py_Main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x400BDF: main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/bin/python3.6)
==10453==
...
2018-04-04 18:39:01 +02:00
Ben Gamari ef3c42b9c4 pythonPackages.vxi11: init at 0.9 2018-04-03 16:39:17 +02:00
Ben Gamari d79fd43c9d haskell.lib: Add {en,dis}ableExecutableProfiling transformer
We already have {en,dis}ableLibraryProfiling and the builder already
accepts the executable profiling attribute; let's make it easy to use.
2018-03-29 13:33:48 -04:00
Ben Gamari a62fffd9a5 ngspice: Move shared library to a new derivation
It turns out that the build system does not support building both the
command-line tool and the shared library at the same time. Consequently
the ngspice derivation has not provided the command-line tools since the
shared library was enabled in #31166.
2018-03-25 19:55:40 -04:00
Ben Gamari d39cd7aad5 kicad-unstable: 2017-12-11 -> 2018-03-10
This is much closer to what will become the final kicad 5 release.
2018-03-10 13:13:18 -05:00
Ben Gamari 5f3b59c0d0 notmuch: Fix configure invocation 2018-02-26 12:00:03 -05:00
Ben Gamari ef5d3d1c9f kexectools: Fix cross compilation 2018-02-13 09:45:00 -06:00
Ben Gamari f33a75a658 kexectools: Add dependency on build CC
Seems to allow cross-compilation.
2018-02-13 09:45:00 -06:00
Ben Gamari 5d6e229ec0 nixUnstable: Enable cross-compilation
Older nix versions likely aren't feasible due to the perl dependency.
2018-02-13 09:44:58 -06:00
Ben Gamari 5b761a8687 nettle: Enable cross-compilation 2018-02-13 09:44:57 -06:00
Ben Gamari db9f302cf3 libcap: Fix cross-compilation 2018-02-13 09:44:57 -06:00
Ben Gamari 41026550e2 ruby: Enable cross-compilation 2018-02-13 09:44:29 -06:00
Ben Gamari cb5453e13a cpython: Enable cross-compilation 2018-02-13 09:44:28 -06:00
Ben Gamari d625f181bd autoconf: Enable cross-compilation 2018-02-13 09:44:28 -06:00
Ben Gamari 4f3c8178b8 groff: Enable cross-compilation 2018-02-13 09:44:28 -06:00
Ben Gamari 46c2e619e8 linux-pam: Add necessary build dependencies for cross-compilation
Ensure that we use the correct `ar` and add explicit dependency on the build CC.

(cherry picked from commit 5efb768011f6bce870f4ce814295a399d5a89c10)
2018-02-13 09:44:27 -06:00
Ben Gamari 47540dab74 lua: Fix cross-compilation 2018-02-13 09:44:27 -06:00
Ben Gamari da310bdd6c sudo: Enable tmpfiles.d is disabled 2018-02-13 09:44:27 -06:00
Ben Gamari a868bf3797 glibc: Fix cross-compilation of locales 2018-02-13 09:44:26 -06:00
Ben Gamari d72c4c694f w3m: Enable cross-compilation 2018-02-13 09:44:26 -06:00
Ben Gamari df5b0ce589 xorg: Use build dependencies where appropriate 2018-02-13 09:44:26 -06:00
Ben Gamari 2870c99cef autogen: Enable cross-compilation 2018-02-13 09:44:26 -06:00
Ben Gamari c68aa532d6 glib: Allow cross compilation
tweaked to handle non-glibc along with others
2018-01-24 09:33:37 -06:00
Ben Gamari 4df330ea6e libgpg-error: Enable cross-compilation 2018-01-24 09:33:36 -06:00
Ben Gamari 3655157d22 libomxil-bellagio: Enable cross-compilation 2018-01-24 09:33:36 -06:00
Ben Gamari a0410d9226 rhash: Enable cross-compilation
(cherry picked from commit 07f1d9eae440b3533ab53f424b31e541116e5623)
2018-01-24 09:33:36 -06:00
Ben Gamari b62864adf4 e2fsprogs: Enable cross-compilation 2018-01-24 09:33:34 -06:00
Ben Gamari 2b04cddf7e nix-prefetch-scripts: makeWrapper is a nativeBuildInput 2018-01-22 20:25:45 -05:00
Ben Gamari 2a5bf4cb40 alsa-utils: Enable cross-compilation 2018-01-22 20:25:45 -05:00
Ben Gamari c3bf521f18 procps: Enable cross-compilation 2018-01-22 20:25:44 -05:00
Ben Gamari 2893657014 automake: Enable cross-compilation 2018-01-22 20:25:44 -05:00
Ben Gamari 8f8b836bce libtool2: Enable cross-compilation 2018-01-22 20:25:44 -05:00
Ben Gamari a4179bf45f zip: Enable cross-compilation 2018-01-22 20:25:44 -05:00
Ben Gamari 6719bf5a74 libxslt: Explicitly specify libxml prefix
Otherwise configure seems not to find xml2-config while cross-compiling.
2018-01-22 20:25:43 -05:00
Ben Gamari 0235539dfe po4a: Docbook dependencies are nativeBuildInputs 2018-01-22 20:25:43 -05:00
Ben Gamari 2e4124c8c9 libdaemon: Enable cross-compilation 2018-01-22 20:25:43 -05:00
Ben Gamari 715fcb4266 flex: Don't disable static while cross-compiling flex
linux-pam appears to rely on this while cross-compiling.

(cherry picked from commit 4009dd163ac30cd25833bf7eb19b5e26e75c474f)
2018-01-22 16:51:30 -06:00
Ben Gamari e6f9e82ee4 flex: Use native dependencies where applicable
Flex needs both a C compiler for the build environment, as well as a native m4.

(cherry picked from commit 81827c0084c1a69e41894a4d38b0c0b267eaff34)
2018-01-22 16:51:30 -06:00
Ben Gamari 8b21391127 bc: fixes for cross-compilation 2018-01-22 16:21:10 -05:00
Ben Gamari bf687907d7 haskell lib: Make Cabal compiler names explicit
Cabal2nix expects a --compiler flag that contains a Cabal Compiler description.
We used to use the compiler's derivation name for this, but this breaks when
cross-compiling due to the target suffix. Instead we add an explicit
haskellCompilerName attribute to Haskell compiler derivations.
2018-01-21 23:31:05 -05:00
Ben Gamari af03b7746a ghc 8.2.2 & head: Work around ARM bugs in BFD ld by using gold 2018-01-21 23:31:03 -05:00
Ben Gamari 8ebb907d70 perl: Add support for cross-compilation via perl-cross 2018-01-19 12:59:49 -05:00
Ben Gamari b4b04dd29f kernel: Fix cross-compilation 2018-01-15 11:55:23 -05:00
Ben Gamari 50e2bb12f6 kernel: Use build kmod 2018-01-15 11:55:23 -05:00
Ben Gamari 7a9b6ac39a kernel: Enable cross compiling 2018-01-15 11:55:06 -05:00
Ben Gamari b2cbffae64 nixos/security-wrapper: Fix cross-compilation 2018-01-09 11:25:19 -05:00
Ben Gamari 6f8cb301a9 ms-sys: Fix cross-compilation 2018-01-09 11:25:19 -05:00
Ben Gamari 7ed923f9d8 mdadm: Fix cross-compilation 2018-01-09 11:25:19 -05:00
Ben Gamari ac19f60c93 ddrescue: Enable cross-compilation 2018-01-09 11:25:19 -05:00
Ben Gamari a2215da9a1 make-ext4-fs: Dependencies are nativeBuildInputs 2018-01-09 11:25:19 -05:00
Ben Gamari d680678d0a makeSquashfs: Inputs are nativeBuildInputs 2018-01-09 11:25:19 -05:00
Ben Gamari 6db707fe7e pkgconfig: Enable cross-compilation
(cherry picked from commit 91fdb2f9caf5ce14acb87f3b877216aeb2590e7e)
2018-01-09 11:23:56 -05:00
Ben Gamari bef09dcca1 krb5: Allow cross-compilation 2018-01-09 11:23:56 -05:00
Ben Gamari dc8bd43249 readline: Don't attempt to check for broken wcwidth
The test requires running code on the target.
2018-01-08 02:55:08 -05:00
Ben Gamari 716194de50 aws-sdk-cpp: Enable cross-compilation 2018-01-05 12:59:52 -06:00
Ben Gamari fa085fc07b haskell: Recommend use of hoogle --local
This works around the browser security restriction of 
disallowing links from http:// to file://.
2018-01-01 19:16:23 -05:00
Ben Gamari b95cdd4f6c gitlab: Rename jws_private_key to openid_connect_signing_key
See
https://github.com/gitlabhq/omnibus-gitlab/commit/24d56df29b156576f16fca84257304c2f062e9db
2017-12-29 22:11:04 -05:00
Ben Gamari c15c449236 binutils: Always search DT_RPATH 2017-12-29 17:32:28 -05:00
Ben Gamari 946c1b26fa diffutils: Enable cross-compilation 2017-12-29 17:18:59 -05:00
Ben Gamari 6f4cfe0570 gawk: Enable cross-compilation 2017-12-29 17:18:46 -05:00
Ben Gamari ec405a1579 docbook_sgml_*: unzip is a nativeBuildInput 2017-12-03 01:50:42 +02:00
Ben Gamari 080164905c docbook_xml_dtd_*: unzip is a nativeBuildInput
[dezgeg resolved a merge conflict]

Conflicts:
	pkgs/data/sgml+xml/schemas/xml-dtd/docbook/generic.nix
2017-12-03 01:50:42 +02:00
Ben Gamari dc10c551eb lvm2: Enable cross-compilation 2017-12-03 01:50:42 +02:00
Ben Gamari 92d3c5689d libtasn1: Enable cross-compilation
[dezgeg amended out a doCheck change]
2017-12-03 01:50:42 +02:00
Ben Gamari ff1a8ba304 libtool: Enable cross compilation 2017-12-03 01:50:42 +02:00
Ben Gamari 1c1207220f gcc: Refactor treatment of configure flags
Previously configureFlags was defined as one giant interpolated string.
Here we refactor this definition to instead use the usual stdenv string
combinators. This seems more in-line with the average nixpkgs expression
and it seems a bit more natural to things of these as lists of flags
rather than monolithic strings.
2017-11-14 16:23:46 -05:00
Ben Gamari 7eecac6f46 ngspice: Build shared library
This builds the libngspice shared library which is used by development
versions of kicad.
2017-11-02 19:26:06 -04:00
Ben Gamari 0c0834f018 libjpeg-turbo: Don't run testsuite when cross-compiling 2017-10-27 20:41:52 -04:00
Ben Gamari 765fbe8f10 libtiff: Don't run testsuite when cross-compiling 2017-10-27 20:41:44 -04:00
Ben Gamari 3ed6239d6b gnutls: Don't run tests when cross-compiling 2017-10-27 20:32:25 -04:00
Ben Gamari de347ad65f lzo: Don't run tests when cross-compiling 2017-10-27 20:32:25 -04:00
Ben Gamari 09ce1ebd8f libxml2: Don't run tests when cross-compiling 2017-10-27 20:32:25 -04:00
Ben Gamari 99932a894f gdbm: Don't run tests when cross-compiling 2017-10-27 20:32:24 -04:00
Ben Gamari 6b1a2b3089 boehm-gc: Don't run tests when cross-compiling 2017-10-27 20:32:24 -04:00