Commit Graph
100 Commits
Author SHA1 Message Date
Tuomas Tynkkynen d92f73e8db rocket: Init at 2018-06-09 2018-06-25 19:22:25 +03:00
Tuomas Tynkkynen f9218b1346 nixos/stage-1: Make find-libs not choke on dynamic linker being in DT_NEEDED
find-libs is currently choking when it finds the dynamic linker
as a DT_NEEDED dependency (from glibc) and bails out like this
(as glibc doesn't have a RPATH):

Couldn't satisfy dependency ld-linux-x86-64.so.2

Actually the caller of find-libs ignores the exit status, so the issue
almost always goes unnoticed and happens to work by chance. But
additionally what happens is that indirect .so dependencies are
left out from the dependency closure calculation, which breaks
latest cryptsetup as libssl.so isn't found anymore.
2018-06-20 17:58:02 +03:00
Tuomas Tynkkynen e3875883cc libbass: Fix src hash 2018-06-11 17:36:24 +03:00
Tuomas Tynkkynen e864247f08 Merge branch 'plat-fix-for-merge-2' into master 2018-06-01 20:08:08 +03:00
Tuomas Tynkkynen a8c898be60 linux_rpi: More downstream device tree name fixups
Also remove the upstream device trees beforehand so we don't
accidentally end using them if we mess up in postFixup.

Also on the topic of mess ups, make the copy unconditional since they
always seem to be built on all architectures anyway so checking for
their existence just hides typos.
2018-06-01 13:48:55 +03:00
Tuomas Tynkkynen f49906d80c nixos/sd-image-raspberrypi: Support Raspberry Pi Zero 2018-06-01 13:48:55 +03:00
Tuomas Tynkkynen 912e87c45c U-Boot: Add ubootRaspberryPiZero variant 2018-06-01 13:48:54 +03:00
Tuomas Tynkkynen 964bd06bbc U-Boot: 2018.03 -> 2018.05 2018-06-01 13:48:54 +03:00
Tuomas Tynkkynen b71f5830fa linux_rpi: 1.20171029 -> 1.20180417 2018-06-01 13:48:54 +03:00
Tuomas Tynkkynen 85952d850e raspberrypifw: 1.20180328 -> 1.20180417 2018-06-01 13:48:54 +03:00
Tuomas Tynkkynen 27bb4da344 platforms.nix: More rpi2 cleanup 2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen 3abdd4f1e3 platforms.nix: Clean up obsolete cruft from raspberrypi2 2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen db2988f7bd platforms.nix: Clean up obsolete cruft from raspberrypi
Works fine without, and the 'DRM n' is actually preventing the mainline
VC4 driver from building.
2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen 96edbe4a0e linux_rpi: Specify defconfig in kernel expression
In particular, now the mainline kernel can be built on the RPi 1 as well
(so kernelBaseConfig should always be a mainline defconfig from now on).
And RPi 2 users can now use linux_rpi without doing the
`nixpkgs.config.platform = lib.systems.platforms.raspberrypi2;` dance.
2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen 87a68c455e kernel: Allow kernel packages to specify a custom default defconfig 2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen 164601faa2 mesa: Enable virgl driver
This gets NixOS tests requiring X11 to work on aarch64:

https://nix-cache.s3.amazonaws.com/log/nj4dwi3wkxx0cxv230ii4a99yz71b4km-vm-test-run-keymap-neo.drv
2018-05-26 18:03:44 +03:00
Tuomas Tynkkynen 696c6bed4e w3m: Add a variant without graphics support and use for NixOS manual
This gets rid of various graphics libraries from the minimal installer.
2018-05-25 01:55:51 +03:00
Tuomas Tynkkynen f8dc087c71 parted: Split into multiple outputs 2018-05-25 01:55:51 +03:00
Tuomas Tynkkynen 26432f3e53 syslinux: Slim down closure size 2018-05-25 01:55:51 +03:00
Tuomas Tynkkynen 91117f0d1d nixos/installer: Drop dmraid
This seems some obsolete software RAID configuration program that hasn't
been updated since 2010.
2018-05-25 01:55:51 +03:00
Tuomas Tynkkynen 402ab2134f ntfs-3g: Split into multiple outputs 2018-05-25 01:55:51 +03:00
Tuomas Tynkkynen 0541762f06 efivar: Split into multiple outputs 2018-05-25 01:55:51 +03:00
Tuomas Tynkkynen aedc169d7f serf: Simplify 2018-05-23 01:14:51 +03:00
Tuomas Tynkkynen 20c2fd73ca apr-util: Fixup apu-1-config
apu-1-config --ldflags is giving broken output on the fixed-output
dependencies. This broke serf build since db was split to multiple
outputs.

https://nix-cache.s3.amazonaws.com/log/q35s5jba6p6dpdqlfn9qgy5w0hpa506v-serf-1.3.9.drv
2018-05-23 01:14:51 +03:00
Tuomas Tynkkynen 0fd461d5b5 db: Use more conventional outputs, also split bin 2018-05-22 17:49:04 +03:00
Tuomas Tynkkynen f9feacfc7c Merge remote-tracking branch 'upstream/master' into staging 2018-05-22 17:48:29 +03:00
Tuomas Tynkkynen ba172467cc U-Boot: Disable parallel build
https://hydra.nixos.org/build/71880710
(cherry picked from commit 50dc85ed62)
(cherry picked from commit 91b09422cf6f8e44d3d06274761053d9e21d6fa2)
2018-05-13 16:12:11 -04:00
Tuomas Tynkkynen d884ece1da U-Boot: Make ubootJetsonTK1 install even more files
(cherry picked from commit 4fe75d11b2)
(cherry picked from commit a68e60f450b5be76d40627066b2c34a0e2360fab)
2018-05-13 16:12:11 -04:00
Tuomas Tynkkynen f2ea9e0ebf U-Boot: Add Pine64 build
(cherry picked from commit 4b77663edf)
(cherry picked from commit 1896fcff609d7b99b4be1781a5c9523193c33e4f)
2018-05-13 16:12:11 -04:00
Tuomas Tynkkynen 7dffe0d38c U-Boot: Add AArch64 QEMU build
See

https://github.com/u-boot/u-boot/blob/master/doc/README.qemu-arm

on how to use it.

(cherry picked from commit 6b069c656a)
(cherry picked from commit eff6d9628c9e0bae2096251f8e97789c0b9afe6f)
2018-05-13 16:12:10 -04:00
Tuomas Tynkkynen 714aff4004 sunxi-tools: Use upstream install rule 2018-05-13 03:53:26 +03:00
Tuomas Tynkkynen 83b3e6d705 kernel: Drop bitrotted MIPS patches
Not a single one of these applies to even 4.4 anymore, so these have
clearly bitrotted a long, long time ago.
2018-05-11 12:27:31 +03:00
Tuomas Tynkkynen bc828721ed nixos/lib/make-ext4-fs: Add a sanity check
I ended up with a corrupted image with the debugfs contraption once, and
given I couldn't reproduce the problem I suppose that happens if the
filesystem of the builder runs out of space.

At least in this instance fsck could detect it, so let's add it as a
sanity check.
2018-05-05 19:30:54 +03:00
Tuomas Tynkkynen 4602e611fa Revert "Revert "hfsprogs: init at 332.25""
This reverts commit 6c182dd14d.

No reason to drop working code, for which there is no other alternative
(in this case, formatting/checking HFS+ filesystems).
2018-05-02 04:15:51 +03:00
Tuomas Tynkkynen dda74d9e50 nixos/qemu-vm: Always add a virtio RNG device to the quest
mke2fs has this annoying property that it uses getrandom() to get random
numbers (for whatever purposes) which blocks until the kernel's secure
RNG has sufficient entropy, which it usually doesn't in the early boot
(except if your CPU supports RDRAND) where we may need to create the
root disk.

So let's give the VM a virtio RNG to avoid the boot getting stuck at
mke2fs.
2018-04-28 12:48:06 +03:00
Tuomas Tynkkynen 3c6e077301 Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	pkgs/development/tools/misc/binutils/default.nix
2018-04-22 22:31:30 +03:00
Tuomas Tynkkynen 6a819c8f8c nixos/iso-image.nix: Fix typo 2018-04-22 22:12:17 +03:00
Tuomas Tynkkynen 487be791d7 nixos/make-ext4-fs: Use closureInfo
exportReferencesGraph is deprecated and doesn't have the generated
initial Nix database contain the SHA256 of the contents of the store
paths, which breaks various things under Nix 2.0.
2018-04-10 00:31:36 +03:00
Tuomas Tynkkynen 1abd235963 rustc: Disable failing test on aarch64
https://hydra.nixos.org/build/72562211/nixlog/1
https://github.com/rust-lang/rust/issues/49807
2018-04-09 22:15:56 +03:00
Tuomas Tynkkynen 9c292a0568 llvm_34, llvm_35: Bring ARMv7 back to platforms
This is required for GHC.
2018-04-04 21:57:57 +03:00
Tuomas Tynkkynen bbc80227ab nixos/tests/openldap: Fix name 2018-04-04 18:26:41 +03:00
Tuomas Tynkkynen af16d71e88 gsl: Disable tests on aarch64
https://hydra.nixos.org/build/70700906

I opened an upstream bug, but their bug system is e-mail based and I
haven't got a single reply which contains an web link :(
2018-04-04 16:54:39 +03:00
Tuomas Tynkkynen 747ebe3f66 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/top-level/all-packages.nix
2018-04-03 02:22:54 +03:00
Tuomas Tynkkynen 1e5cb384d5 nixos/sd-image-*: Raspberry Pi firmware no longer falls under unfree
It's just unfreeRedistributableFirmware now.
2018-04-02 23:46:18 +03:00
Tuomas Tynkkynen b59f9497aa raspberrypifw: Drop all non-firmware parts
They are now built from source in raspberrypi-tools.
2018-04-02 23:46:18 +03:00
Tuomas Tynkkynen 434722ba62 raspberrypi-tools: Init at 2018-02-05 2018-04-02 23:46:18 +03:00
Tuomas Tynkkynen 181e0675da nixos/release.nix: Add Hydra job for AArch64 SD image
Based on how ISO images are added to the release.
2018-04-02 15:18:25 +03:00
Tuomas Tynkkynen 4c21180a13 nixos/sd-image: Make it more similar to iso-image.nix
- Add `imageName` and `imageBaseName` options similar to the `isoName`
  and `isoBaseName` options
- Make the filename of the iso match what iso-image.nix does
- Generate a nix-support/hydra-build-products like iso-image.nix does
2018-04-02 15:18:25 +03:00
Tuomas Tynkkynen f2d6702e20 perlPackages.YAMLLibYAML: Remove obsolete build fix
Commit 4270c5c7be added this hunk which
apparently is making the build fail now.
2018-03-28 21:40:53 +03:00
Tuomas Tynkkynen d27f7942b7 nixos/tests/misc: Fix on aarch64
The psmouse module is for PS/2 mouse only, which doesn't exist outside
x86. But we can test for the mousedev module just as well which is used
for the '-device usb-tablet' emulated by QEMU.
2018-03-25 18:29:21 +03:00
Tuomas Tynkkynen bec461a35a llvm_34, llvm_35: Disable on aarch64
https://hydra.nixos.org/build/71176565
https://hydra.nixos.org/build/71167754
2018-03-25 16:39:10 +03:00
Tuomas Tynkkynen a6425fc66d ghc: Disable on AArch64
For some reason compiling the proper GHC from the binary one eventually
segfaults at some point.

Since it has never worked, just disable it and investigate later.
2018-03-24 16:11:31 +02:00
Tuomas Tynkkynen 3131daace1 nixos/tests/installer: Give eval failure on unsupported boot methods 2018-03-24 16:11:31 +02:00
Tuomas Tynkkynen 50dc85ed62 U-Boot: Disable parallel build
https://hydra.nixos.org/build/71880710
2018-03-24 16:07:50 +02:00
Tuomas Tynkkynen a8eb2c9ef9 glslviewer: 1.2 -> 2018-01-31, fixes build 2018-03-23 21:05:50 +02:00
Tuomas Tynkkynen a2c37c0700 riscv-pk: Set correct platforms 2018-03-23 20:05:23 +02:00
Tuomas Tynkkynen bab5a0664c armTrustedFirmware: Disable parallel build
I think https://hydra.nixos.org/build/71541345 is parallel build
related.
2018-03-23 19:03:26 +02:00
Tuomas Tynkkynen 107eaa8780 armTrustedFirmwareQemu: 1.4 -> 1.5, fixes build with GCC7 2018-03-23 19:03:04 +02:00
Tuomas Tynkkynen 809b0d26bd Merge remote-tracking branch 'upstream/master' into staging 2018-03-22 09:54:10 +02:00
Tuomas Tynkkynen c9d3fc7cad help2man: 1.47.5 -> 1.47.6 2018-03-22 09:48:22 +02:00
Tuomas Tynkkynen cd1cb10515 automake: 1.16 -> 1.16.1 2018-03-22 09:48:21 +02:00
Tuomas Tynkkynen 74720a36c7 Merge remote-tracking branch 'upstream/master' into staging 2018-03-21 23:51:55 +02:00
Tuomas Tynkkynen e58624a877 nixos/tests: Make simpleUefiGrub test work on AArch64
Needs more refactoring for the AArch64 '-enable-kvm' stuff some day...
2018-03-21 23:19:26 +02:00
Tuomas Tynkkynen f59eab75d2 edk2, OVMF: Build on aarch64
And also build in parallel.

I don't understand why we manually tediously link every single directory
from the source, but I don't want to investigate too much.
2018-03-21 23:19:26 +02:00
Tuomas Tynkkynen 1645011983 OVMF: Reformat a bit for readability
- Use 'somePkg == null' instead of 'somePkg == false' which is more
  conventional in rest of Nixpkgs
- Use lib.optionalString where applicable
2018-03-21 23:19:26 +02:00
Tuomas Tynkkynen 1d854b479c edk2: Reformat a bit for readability
- Have only one sed expression per line
- Put the important stuff closer to the command and not hidden in some
continuation line. That is, don't do:

sed \
    <boring stuff> \
    <boring stuff> \
    <boring stuff> \
    <boring stuff> \
    <boring stuff> \
    <IMPORTANT STUFF>

but:

sed <IMPORTANT STUFF> \
    <boring stuff> \
    <boring stuff> \
    <boring stuff> \
    <boring stuff> \
    <boring stuff>
2018-03-21 23:19:25 +02:00
Tuomas Tynkkynen 1874678d12 make-dbus-conf: Don't depend on unnecessary libxslt outputs
Might fix https://hydra.nixos.org/build/71580290.
2018-03-21 22:18:50 +02:00
Tuomas Tynkkynen 3918182cb5 nixos/manual: Don't depend on non-bin outputs of libxml2 and libxslt
Might fix https://hydra.nixos.org/build/71580290.
2018-03-21 22:18:49 +02:00
Tuomas Tynkkynen a2d8a9aad7 armTrustedFirmware: Remove targetPlatforms like was done in U-Boot
Should also fix Hydra attempting to build this stuff on x86, like
https://hydra.nixos.org/build/71533289
2018-03-20 02:33:40 +02:00
Tuomas Tynkkynen 8254d2cfb0 nss: Fix aarch64 build 2018-03-19 05:11:01 +02:00
Tuomas Tynkkynen 4fe75d11b2 U-Boot: Make ubootJetsonTK1 install even more files 2018-03-18 18:53:12 +02:00
Tuomas Tynkkynen 4b77663edf U-Boot: Add Pine64 build 2018-03-18 18:53:12 +02:00
Tuomas Tynkkynen 6b069c656a U-Boot: Add AArch64 QEMU build
See

https://github.com/u-boot/u-boot/blob/master/doc/README.qemu-arm

on how to use it.
2018-03-18 18:53:12 +02:00
Tuomas Tynkkynen 07e2f29772 Merge remote-tracking branch 'upstream/master' into staging 2018-03-17 09:58:02 +02:00
Tuomas Tynkkynen c37e1e2ff9 lsof: 4.89 -> 4.90
- The patch has been applied upstream.

- LSOF_INCLUDE was referring to wrong output, this broke the build.

- Remove an unneeded legacy sed.

- Maintain, while at it.
2018-03-16 03:29:24 +02:00
Tuomas Tynkkynen 3d251d06c2 gnu-efi: 3.0.6 -> 3.0.8 2018-03-16 03:22:38 +02:00
Tuomas Tynkkynen de529a5d2c e2fsprogs: 1.43.9 -> 1.44.0 2018-03-16 03:22:37 +02:00
Tuomas Tynkkynen cf77fcadec audit: 2.8.2 -> 2.8.3 2018-03-16 03:22:37 +02:00
Tuomas Tynkkynen 44ff59d95b Merge remote-tracking branch 'upstream/master' into staging 2018-03-16 03:02:12 +02:00
Tuomas Tynkkynen d66b87682b Merge remote-tracking branch 'upstream/master' into HEAD 2018-03-15 22:31:29 +02:00
Tuomas Tynkkynen ef64208eba Merge commit '3ab2949' from staging into master
Conflicts:
	pkgs/development/compilers/llvm/6/llvm.nix
	pkgs/servers/home-assistant/component-packages.nix
2018-03-15 22:30:56 +02:00
Tuomas Tynkkynen 9e78baf5c7 nixos/qemu-vm: Add virtualized display + HID devices on AArch64 2018-03-14 21:18:20 +02:00
Tuomas Tynkkynen 2fec9c6e29 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/development/tools/build-managers/conan/default.nix
2018-03-13 23:04:18 +02:00
Tuomas Tynkkynen e31f49f671 sssd: 1.16.0 -> 1.16.1 2018-03-12 01:47:18 +02:00
Tuomas Tynkkynen 532bd714ba nano: 2.9.3 -> 2.9.4 2018-03-12 01:41:36 +02:00
Tuomas Tynkkynen 22df741045 nix: Fix build on ARMv6 2018-03-11 19:44:44 +02:00
Tuomas Tynkkynen 2372e93981 trinity: Fix 32-bit build 2018-03-06 21:37:18 +02:00
Tuomas Tynkkynen 1e107443ad Merge commit '618ac29687a650d854c8bea7efd4490387589ce2' into staging 2018-03-03 22:40:32 +02:00
Tuomas Tynkkynen 9041eff01e diffoscope: Update tools list 2018-03-03 22:33:04 +02:00
Tuomas Tynkkynen a4fa6c4e3f diffoscope: 90 -> 91 2018-03-03 22:06:35 +02:00
Tuomas Tynkkynen 984fa1c2ee cbfstool: 4.5 -> 4.7, fixes build 2018-03-03 22:06:35 +02:00
Tuomas Tynkkynen 55b5c40a8d iperf: 3.4 -> 3.5 2018-03-03 21:33:08 +02:00
Tuomas Tynkkynen b8b2225f6b Merge remote-tracking branch 'upstream/master' into staging 2018-03-01 06:09:20 +02:00
Tuomas Tynkkynen 34f95d92a2 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/applications/misc/pytrainer/default.nix
	pkgs/development/tools/pew/default.nix
	pkgs/tools/misc/you-get/default.nix
2018-02-28 20:52:49 +02:00
Tuomas Tynkkynen 822526f09e kernel config: Enable CGROUP_BPF
Avoids the following warning:

File /.../systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
2018-02-28 01:12:54 +02:00
Tuomas Tynkkynen bc2c0b297a trinity: Fix build by upgrading
Probably broken by the linuxHeaders upgrade.

https://hydra.nixos.org/build/70176539
2018-02-27 02:34:29 +02:00
Tuomas Tynkkynen cb6172c3b1 fio: 3.4 -> 3.5 2018-02-24 02:59:25 +02:00
Tuomas Tynkkynen ae9d4faff9 Merge remote-tracking branch 'upstream/master' into staging 2018-02-24 02:05:30 +02:00
Tuomas Tynkkynen 8afcfb2bb6 ocamlPackages.curses: Fix build after ncurses5 changes
Fixes build after commit 3d24ae9b44:

https://github.com/NixOS/nixpkgs/commit/3d24ae9b4426bb8adfcb08de57be21fdf0a377f8#commitcomment-27714305

Thanks to dtzWill for the pointer:
https://github.com/NixOS/nixpkgs/pull/34477#issuecomment-367359351
2018-02-23 06:21:11 +02:00
Tuomas Tynkkynen 71b0de1019 rogue: Fix build after ncurses5 changes
Fixes build after commit 3d24ae9b44:
https://hydra.nixos.org/build/69789236

Thanks to dtzWill for the pointer:
https://github.com/NixOS/nixpkgs/pull/34477#issuecomment-367359351
2018-02-23 06:21:11 +02:00