Commit Graph
100 Commits
Author SHA1 Message Date
Austin Seipp 7adcf79ccb liburing: 1.0.0pre131_b422aa11cc -> 1.0.0pre132_f8865bc6
Fixes a symbol visibility bug. Also enables debug symbols for this
library.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-29 14:22:21 -05:00
Austin Seipp 63ff37f278 liburing: 1.0.0pre118_2e719820 -> 1.0.0pre131_b422aa11cc
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-28 21:43:42 -05:00
Austin Seipp 5e0cab80c5 foundationdb: default to 6.1.8 (from 6.0.18)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-28 20:54:09 -05:00
Austin Seipp 2a56ea3593 foundationdb61: 6.1.7pre4928_a990458e -> 6.1.8
This bumps the 6.1.x branch to the official 6.1.8 release. Also fixes a
minor bug in the new CMake build (an invalid parameter passed to CMake)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-27 23:27:38 -05:00
Austin Seipp 0ca30f22f1 liburing: 1.0.0pre116 -> 1.0.0pre118
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-23 14:32:18 -05:00
Austin Seipp 99c8680f49 podman: 1.2.0 -> 1.3.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-23 12:05:48 +02:00
Austin Seipp a86c178a58 conmon: unstable-2019-03-19 -> 0.0.1pre52_6905a4d
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-23 12:05:48 +02:00
Austin Seipp f39f4a716e buildah: 1.8.1 -> 1.8.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-23 12:05:48 +02:00
Austin Seipp 6858eda213 Merge pull request #61856 from r-ryantm/auto-update/libndctl
libndctl: 64.1 -> 65
2019-05-22 20:50:15 -05:00
Austin Seipp fefcb29476 Merge pull request #61822 from thoughtpolice/nixpkgs/add-libbpf
libbpf: init at 0.0.3pre114_672ae75
2019-05-22 14:19:25 -05:00
Austin Seipp ff497b7b08 Merge pull request #61711 from Kjuvi/master
spark: 2.2.1 -> 2.4.3
2019-05-21 13:27:27 -05:00
Austin Seipp dee55b0e66 libbpf: init at 0.0.3pre114_672ae75
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-21 13:06:36 -05:00
Austin Seipp 3354bd90a1 Merge pull request #61814 from thoughtpolice/nixpkgs/fix-linux-5.2
linux_testing (5.2.0-rc1): fix build, include 'cpio' in nativeBuildInputs
2019-05-21 12:12:29 -05:00
Austin Seipp c117aa3ec3 linux_testing (5.2.0-rc1): fix build, include 'cpio' in nativeBuildInputs
81d4e65891 automatically bumped
linux_testing to 5.2.0-rc1, but the 5.2 merge window included a new
feature adding compressed headers for compiled kernels into
/proc/kheaders.tar.xz

See https://github.com/torvalds/linux/commit/43d8ce9d65a54846d378545770991e65838981e0

This feature requires 'cpio' to now be included in nativeBuildInputs
since it's used to construct that archive.

This wasn't caught by Hydra since we turn off build of linuxPackages,
but ideally we should at least build the kernel in the future
(linux_testing itself.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-21 11:50:33 -05:00
Austin Seipp cc960cb205 Merge pull request #61810 from thoughtpolice/nixpkgs/liburing-update
liburing: 1.0.0pre92 -> 1.0.0pre116
2019-05-21 10:55:14 -05:00
Austin Seipp b38b0f610f foundationdb61: 6.1.6pre4898 -> 6.1.7pre4928
Also includes some minor, miscellaneous cleanups to the CMake build
expression.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-21 10:48:56 -05:00
Austin Seipp 4fe57ed90b liburing: 1.0.0pre92 -> 1.0.0pre116
Notably, this includes non-x86 platform support, eventfd registration
for completion events, "drained" events that must have all outstanding
prior events/further events drained (e.g. for fsync), and linked CQEs
that can express completion ordering dependencies.

Most of these require 5.2-rc1, and linked CQEs require custom patches
from Jens' linux-block tree (that didn't hit the 5.2 merge window,
apparently.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-21 10:38:39 -05:00
Austin Seipp f9b8ee3dd8 Merge pull request #61745 from abbradar/criu
criu: 3.9 -> 3.11
2019-05-21 10:13:35 -05:00
Austin Seipp e2bbc6fb46 nixos: fix services.foundationdb.traceFormat for older server versions
This was a testing oversight that came from #61009 -- I forgot to test
the new traceFormat option with older server versions while I was
working on FDB 6.1.

Since trace_format is only available in 6.1+, emitting it
unconditionally caused older versions of the database fail to start,
reporting an error. We simply gate it behind a version check instead,
and assert the format is always XML on older versions. This avoids the
case where the user has an old version, changes traceFormat willingly,
and then is confused by why it didn't work.

As reported by @TimothyKlim in the comments on commit
c55b9236f0. See

    https://github.com/NixOS/nixpkgs/commit/c55b9236f0f208a8689e400ddbea52858c923372#r33566132

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-16 15:16:50 -05:00
Austin Seipp dba7af031d Merge pull request #61009 from thoughtpolice/nixpkgs/fdb-61-fixes
foundationdb: add fdb 6.1 with cmake build
2019-05-15 09:54:39 -05:00
Austin Seipp 2525b88c80 nixos/foundationdb: default to ssd storage engine
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-15 09:54:11 -05:00
Austin Seipp 427f1e58a4 nixos/foundationdb: chmod 0770 for logs/data files
Slight oversight: this allows members of the FoundationDB group to read
logs.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-15 09:54:11 -05:00
Austin Seipp c55b9236f0 nixos: add services.foundationdb.traceFormat option
This allows us to specify JSON trace logging, which is useful for
tooling to injest/transform logs.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-15 09:54:11 -05:00
Austin Seipp 3f1c6801a2 foundationdb: init 6.1.6pre4898_26fbbbf, cmake build
This adds a new build of FoundationDB 6.1, using the new, much improved
with CMake build system with fewer patches and rough edges.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-15 09:54:10 -05:00
Austin Seipp a13a0c8de4 foundationdb: refactor vsmake patch application
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-15 09:54:10 -05:00
Austin Seipp 34e15b1c73 foundationdb: refactor 'vsmake' build system into its own file [NFC]
FoundationDB is currently in the process of migrating to CMake, and it
will eventually be the only build system. In preparation for this, split
off the current (somewhat nasty) builder into its own file, and allow
default.nix to be more declarative -- containing only the main supported
versions.

Similarly, a cmake.nix file will be added later.

There is no functional change here (NFC), only an organizational change
(file moves, no hash changes).

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-15 09:54:07 -05:00
Austin Seipp b0c2352a30 Merge pull request #61529 from thoughtpolice/nixpkgs/pypy3-fix-funcsigs
pythonPackages.funcsigs: fix tests on pypy3
2019-05-15 06:00:29 -05:00
Austin Seipp dd79d605de pythonPackages.funcsigs: fix tests on pypy3
This package has a spurious test failure on PyPy3, which was reported
upstream a while ago:

     https://github.com/testing-cabal/funcsigs/issues/10

This is fixed thanks to the included patch, which was authored and is
also used by the Gentoo Python team.

With this, packages like 'pytest' and 'click' now work under PyPy3.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-14 21:57:27 -05:00
Austin Seipp 5e0a6863c8 Merge pull request #57973 from aanderse/monitoring-plugins
monitoring-plugins: compile missing mysql, ldap, dig, procs, and dbi executables
2019-05-14 15:07:33 -05:00
Austin Seipp a5f6014020 pkgs: remove souper-2017-03-23
Souper is a very experimental package that's only useful for for
compiler hackers or people who are doing PhDs. The support/cost ratio of
keeping such a package probably isn't very good.

More importantly, this puts us one step closer to deleting
llvmPackages_4, as this is one of the only two remaining packages using
it. Deleting these older LLVM packages would be far more useful than the
value Souper currently provides.

Current versions of Souper support more recent LLVM versions anyway, so
this expression could be resurrected. But it might be better to place it
in the Nix User Archive (NUR), perhaps.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-14 14:57:45 -05:00
Austin Seipp 3b0b55df67 Merge pull request #61395 from risicle/ris-postgres-enable-check
postgresql: enable pre-install checks
2019-05-14 14:49:03 -05:00
Austin Seipp de1110d535 pkgs: remove llvm_37
These expressions are now unused, and can be removed to lighten the load
on build machines.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-14 14:23:22 -05:00
Austin Seipp fd32d60169 Merge pull request #61503 from ggPeti/master
pg_partman: init at 4.1.0
2019-05-14 14:13:32 -05:00
Austin Seipp 562a475258 Merge pull request #61108 from thoughtpolice/nixpkgs/bpftool-init
bpftool: init at 5.1.1
2019-05-12 22:13:35 -05:00
Austin Seipp 46b7153d57 bpftool: init at 5.1.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-12 22:12:30 -05:00
Austin Seipp 27fd944bb7 Merge pull request #60925 from ruuda/libressl-291
libressl: 2.9.0 -> 2.9.1
2019-05-07 17:23:52 -05:00
Austin Seipp 64f7cb24d5 all-packages/test: add gcc9Stdenv, cc-wrapper-gcc9
Follow up from #60860.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-07 17:21:31 -05:00
Austin Seipp 0a4cd28f84 linuxPackages.bcc: 0.8.0 -> 0.9.0
Requires a minor tweak to the deadlock detector patch (the file was
renamed in the upstream repo).

bcc now also wants a copy of libbpf, which it doesn't have in the source
release tarball. Clone a copy from GiHub that's synchronized with the
release, and put it in place.

Tested on Linux 5.1 (with bpftrace as well).

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 01:42:02 -05:00
Austin Seipp 181e971755 linux: add 5.1 release
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 00:39:22 -05:00
Austin Seipp d5a8b040c2 Merge pull request #60968 from thoughtpolice/nixpkgs/doctl-update
doctl: 1.12.2 -> 1.16.0
2019-05-05 13:01:09 -05:00
Austin Seipp 5e2551a83f doctl: 1.12.2 -> 1.16.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-05 02:43:48 -05:00
Austin Seipp f60936d14d Merge pull request #60121 from eadwu/nvidia_x11_beta/430.09
nvidia_x11_beta: stable -> 430.09
2019-05-03 15:33:04 -05:00
Austin Seipp c8cb015ff6 linuxPackages.perf: add libopcodes as a buildInput
Newer versions of perf in Linux 5.1+ support disassembling and
annotating eBPF programs inside the kernel. In order to do this, it uses
libbfd's support for bpf disassembly. There are two parts: libopcodes
and libbfd.

The 'perf' build system seems to expect libopcodes/libbfd to go "hand in
hand" -- always together, if one or the other is installed. If the build
system detects libbfd is available, then an import of <dis-asm.h> is
performed, but this fails since it wasn't in the buildInput. Fixing this
should be an easy, backwards-compatible change.

Fixes #60891, allowing linuxPackages_testing.perf to build again
(currently kernel version 5.1.0-rc7).

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-03 15:10:46 -05:00
Austin Seipp f40a559cbb bpftrace: nuke some unneeded files from $out
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-03 12:25:59 -05:00
Austin Seipp 89d5bfc2db Merge pull request #60844 from thoughtpolice/nixpkgs/bpftrace-update
bpftrace: unstable-2018-10-27 -> 0.9
2019-05-03 12:09:57 -05:00
Austin Seipp 241063ca84 bpftrace: unstable-2018-10-27 -> 0.9
Update bpftrace to the latest pre-release, with a real version number.

The most notable change now is that bpftrace can use a stable version of
the 'bcc' toolchain in order to build, meaning no more hacks are needed
to clone the source code and fix up the build system, etc. This
simplifies things greatly and removes the old bcc-source patch.

Similarly, we can remove our custom gtests patch (which disabled the
build) by just passing -DBUILD_TESTING=FALSE when running cmake. This
was also added upstream recently.

However, something does still need to be fixed, at a cost: bpftrace
requires the kernel -dev package because it wants both objects and
include directories (some files are only shipped in one or the other).
Therefore, we remove the dependency on linuxHeaders and instead use
kernel.dev as the sole input to the build.

This is both a positive and a negative: the positive is that tools work
without annoying fatal errors, and that the bpf toolchain is
synchronized to the linuxPackages.kernel derivation it was built
against. The downside is that the .dev expression is much heavier as a
dependency, so bpftrace is now closer to 700mb in closure size. (This
especially hurts across kernel upgrades requiring a whole new rebuild,
especially if you have existing nixos generations that won't GC, etc.)

We probably want to slim this down substantially in the future (and
there may be a few ways to do that), but as this will probably also
touch bcc, and as a first cut of the pre-releases, this is probably fine
while we work out other kinks.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-03 11:32:58 -05:00
Austin Seipp d416b263cf Merge pull request #60846 from thoughtpolice/nixpkgs/crdb-update
cockroachdb: 2.1.6 -> 19.1.0
2019-05-03 11:27:48 -05:00
Austin Seipp fecdbd9a49 cockroachdb: 2.1.6 -> 19.1.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-03 01:50:31 -05:00
Austin Seipp 0d2b66dff2 liburing: bump, fix version (1.0.0pre92_7b989f3)
I accidentally got the number of commits wrong in the previous
prerelease version string. This is now fixed.

Generally, this would result in functions like builtins.compareVersions
to give incorrect results, so 'nix-env -u' doesn't work. But I'm
justifying it here, because: most people use it as a library, so the
hash change is all that matters. Plus, I only authored this a week or
so ago in upstream, so this change is fast enough that I think people
will be fine with it and can work around, especially since it's
unreleased in any stable channel.

This also bumps the library to the newest version, which contains some
bugfixes, and now installs the manpages into the $man output for us.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-02 19:32:05 -05:00
Austin Seipp 6efef9b51b cockroachdb: 2.1.5 -> 2.1.6
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-27 20:52:01 -05:00
Austin Seipp 6088a4793f Merge pull request #60128 from lilyball/xv
xv: init at 0.1.0
2019-04-23 20:05:44 -05:00
Austin Seipp 359facc3d3 Merge pull request #60093 from thoughtpolice/nixpkgs/kind-update
kind: 0.1.0 -> 0.2.1
2019-04-23 11:21:18 -05:00
Austin Seipp 1f86adbdbf yosys: 2019.04.22 -> 2019.04.23
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-23 09:34:42 -05:00
Austin Seipp 1daf31dc8e ocamlPackages.zarith: 1.7 -> 1.8
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-23 09:23:04 -05:00
Austin Seipp 44da3f6522 Revert "ocamlPackages.zarith: 1.7 -> 1.8"
This reverts commit 1c84236afb.

See the explanation in 564653f91d. The
lack of CAML_LD_LIBRARY_PATH causes regressions in dependent downstream
packages that try to use dllzarith.so directly.
2019-04-23 09:21:44 -05:00
Austin Seipp da57a2fa60 kind: 0.1.0 -> 0.2.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-23 09:16:31 -05:00
Austin Seipp b0fea1dc9c verilog: 2018.12.15 -> 2019.03.27, parallel build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 14:27:45 -05:00
Austin Seipp fe8eb566b5 symbiyosys: 2019.03.28 -> 2019.04.18
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 14:27:45 -05:00
Austin Seipp 77be634daa yosys: 2019.04.08 -> 2019.04.22
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 14:27:44 -05:00
Austin Seipp 25bea5054e nextpnr: 2019.04.02 -> 2019.04.19
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 14:27:44 -05:00
Austin Seipp a5cb8ba7c0 trellis: 2019.04.02 -> 2019.04.22
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 14:27:44 -05:00
Austin Seipp ef94e127d1 icestorm: 2019.03.11 -> 2019.04.16
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 14:27:44 -05:00
Austin Seipp 9b1706eb06 Merge pull request #60027 from thoughtpolice/nixpkgs/liburing
liburing: init at 1.0.0pre821_39e0ebd
2019-04-22 12:03:41 -05:00
Austin Seipp d3fad881d6 firecracker: 0.15.0 -> 0.15.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 11:52:40 -05:00
Austin Seipp 52714f495c liburing: init at 1.0.0pre821_39e0ebd
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 11:18:18 -05:00
Austin Seipp bb27856a5c Merge pull request #59522 from r-ryantm/auto-update/gtkwave
gtkwave: 3.3.99 -> 3.3.100
2019-04-16 02:12:25 -05:00
Austin Seipp 3b6c07c398 nextpnr: enable OpenMP support (for Eigen)
The new HEaP analytic placer for NextPNR uses Eigen for underlying
placement algorithms. Enabling -DUSE_OPENMP passes -fopenmp onto the
compiler, which Eigen picks up automatically with no extra work.

This should result in placer speedups for large designs, e.g. on ECP5
85k chips.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-15 00:17:54 -05:00
Austin Seipp a5add1e623 symbiyosys: 2018.12.09 -> 2019.03.28
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-15 00:17:54 -05:00
Austin Seipp 34e1dda3fe arachne-pnr: fix version
The version number was actually a single day off -- but otherwise the
commit hash, etc didn't change. arachne-pnr development is effectively
halted, but this is a nice touchup anyway.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-15 00:17:54 -05:00
Austin Seipp 90d6653b24 icestorm: 2019.02.23 -> 2019.03.11
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-15 00:17:54 -05:00
Austin Seipp e14a706dce chez: 9.5.1 -> 9.5.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-12 11:15:59 -05:00
Austin Seipp 8ace9e6a44 pmdk: init at 1.6
Intel is finally shipping real persistent memory, now that Optane DCPMMs
are available with Cascade Lake processors. Therefore, programmers need
a persistent memory programming API!

In particular, pmdk is needed for QEMU features relating to persistent
memory: by enabling pmdk as a dependency of QEMU, you can proxy NVDIMMs
from the host system to virtual machines with the exact same consistency
guarantees. (In the normal case, these host NVDIMMs can be used as a
backend device for DAX-enabled filesystems, and the persistent memory
given to the virtual machine can be represeted as objects in the
filesystem, allowing granular distribution of non-volatile memory to
clients.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-08 01:42:26 -05:00
Austin Seipp 7fd1250b80 libndctl: 63 -> 64.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-08 01:42:26 -05:00
Austin Seipp 12db6c18f9 cryptol: fix, rework cryptol 2.6.0 builds
- The previous build of Cryptol was broken on GHC 8.6.x, which is now the
  new default. That's been fixed with a few upstream patches that will come
  up whenever the next release happens.

  - There was also a build failure on base-compat, fixed by jailbreaking.

  - The previous setup had all-packages.nix creating a new derivation
  solely for the purpose of wrapping the Z3 binary. This has been removed:
  the wrapper is still added but during the Haskell build itself, so that
  all Haskell dependent packages can use the cryptol interpreters too.

  - In its place, we use justStaticExecutables, so people using nix-env
  and Cryptol users who *don't* need haskell dependencies can get much
  smaller closures. Obviously this still implies a second build, but
  this build is much more useful than one that merely adds a shell
  script to a package that's relatively expensive to compile...

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-07 00:45:22 -05:00
Austin Seipp 4f74e3abcf souffle: 1.2.0 -> 1.5.1, co-maintain
Souffle has seen some significant upgrades in the past few years and now
has trimmed and replaced several of its more expensive dependencies,
such as boost, openjdk, etc.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-03-12 00:45:38 -05:00
Austin Seipp 37fe6bf786 websocat: init at 1.3.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-03-10 16:50:24 -05:00
Austin Seipp f435d75d79 ttyd: init at 1.4.2_pre174_6df6ac3e
ttyd hasn't seen a release in a while, but has a few useful bugfixes and
features (such as IPv6) that are good to have. It also seems to fix a
few crashes I encountered (likely due to newer openssl/libwebsockets).
So in an untraditional fashion, we'll adopt this with a _pre tag to
ensure it gets bumped correctly later on.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-03-06 02:22:49 -06:00
Austin Seipp 0267483ac3 yosys: 2019.01.08 -> 2019.02.22
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-23 12:08:48 -06:00
Austin Seipp b30ad4be96 nextpnr: 2019.01.08 -> 2019.02.20
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-23 12:08:48 -06:00
Austin Seipp ad8d28c98f arachne-pnr: update git repo location
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-23 12:08:48 -06:00
Austin Seipp 609b49ea78 icestorm: 2018.12.31 -> 2019.02.23
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-23 12:08:48 -06:00
Austin Seipp ba59a8a9df trellis: 2018.12.20 -> 2019.02.21
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-23 12:08:48 -06:00
Austin Seipp c193b9c158 nixos/manual: fix missed <listitem> in highlights section
Otherwise, the "Kubernetes" note shows up inside the "Pantheon Desktop
Environment" highlight section.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-23 09:59:43 -06:00
Austin Seipp 136c3823ce nixos/manual: add 19.03 release note for cockroachdb module
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-23 09:55:00 -06:00
Austin Seipp d011a91b70 firecracker: 0.14.0 -> 0.15.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-22 13:23:46 -06:00
Austin Seipp 3a1f39e1de kernel: enable pressure stall information on 4.20+
Closes #56207.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-22 12:47:37 -06:00
Austin Seipp b59b5b2052 cockroachdb: 2.1.3 -> 2.1.5
Closes #56192.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-22 10:06:47 -06:00
Austin Seipp c36c048c0e dockerTools: mark store-path-to-layer.sh as executable
bcf54ce5bb introduced a treewide change to
use ${stdenv.shell} where-ever possible. However, this broke a script
used by dockerTools, store-path-to-layer.sh, as it did not preserve the
+x mode bit. This meant the file got put into the store as mode 0444,
resulting in a build-time error later on that looked like:

    xargs: /nix/store/jixivxhh3c8sncp9xlkc4ls3y5f2mmxh-store-path-to-layer.sh: Permission denied

However, in a twist of fate, bcf54ce5bb
not only introduced this regression but, in this particular instance,
didn't even fix the original bug: the store-path-to-layer.sh script
*still* uses /bin/sh as its shebang line, rather than an absolute path
to stdenv. (Fixing this can be done in a separate commit.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-21 08:30:47 -06:00
Austin Seipp c19807e25d foundationdb60: 6.0.17 -> 6.0.18
Fixes numerous bugs in blobstore backup.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-12 23:03:25 -06:00
Austin Seipp 5069fa0a30 nixpkgs: remove sapic-0.9
SAPIC is bundled with Tamarin and doesn't have separate releases
anymore; add an appropriate 'throw' clause to the alias so people know
where to find it.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 18:54:38 -06:00
Austin Seipp fc159594a7 tamarin-prover: 1.4.0 -> 1.4.1, bundled sapic
With this, we can drop the old 1.4.0 patches for 8.4 support, since
those are now upstream.

Furthermore, SAPIC Is now bundled inside Tamarin, so we can drop the
external dependency. (This includes a patch that compiles SAPIC to
native code, much like the original, to reduce closure size.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 18:54:38 -06:00
Austin Seipp 8cbe6b9ce4 nixpkgs: reorganize the postgresql extensions
This is a backwards compatible change; it mostly puts all the extensions
for postgresql in a common directory to keep them isolated.

It also moves a few things that /were not/ extensions out into other parts of
the filesystem namespace; namely the postgresql_jdbc and psqlodbc libraries
were moved under development/java-modules and development/libraries,
respectively. Because these libraries use the libpq postgresql client drivers,
they're less sensitive to underlying version changes anyway (since the protocol
is relatively stable).

No attributes were renamed or harmed in the creation of this patch.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00
Austin Seipp 73f56ae191 nixpkgs: move postgresql patches into a common directory
This simply makes it easier to browse the PostgreSQL package directory. More to
come.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00
Austin Seipp 564653f91d ocamlPackages.zarith: use buildOcaml instead of mkDerivation
This has two main advantages:

  - By setting hasSharedObjects = true, buildOcaml will automatically
include a setup-hook.sh that sets CAML_LD_LIBRARY_PATH in dependent
expressions. This is needed to pick up dllzarith.so properly which is
shipped as part of the library.

  - We can kill the ugly assert in the expression and instead change it
to use minimumSupportedOcamlVersion.

(Note: this was reverted in b44d5136e8, but the change is
exactly equivalent -- I wasn't sure what impact zarith might actually
have without checking OfBorg, which I wanted to do first.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-15 01:28:11 -06:00
Austin Seipp b44d5136e8 Revert "ocamlPackages.zarith: use buildOcaml instead of mkDerivation"
This reverts commit 9d5a7af4e5.
2019-01-15 00:35:11 -06:00
Austin Seipp 9d5a7af4e5 ocamlPackages.zarith: use buildOcaml instead of mkDerivation
This has two main advantages:

  - By setting hasSharedObjects = true, buildOcaml will automatically
include a setup-hook.sh that sets CAML_LD_LIBRARY_PATH in dependent
expressions. This is needed to pick up dllzarith.so properly which is
shipped as party of the library.

  - We can kill the ugly assert in the expression and instead change it
to use minimumSupportedOcamlVersion.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-15 00:33:59 -06:00
Austin Seipp ee3949d720 nextpnr: use qtbase-5.11 instead of 5.12
This fixes a bizarre regression in the NextPNR GUI that causes the
background of the OpenGL floorplanning window to become 'transparent' on
certain platforms, greatly limiting its utility. However, QT 5.11 seems
to work just fine here.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-15 00:33:59 -06:00
Austin Seipp b5c6156062 firecracker: 0.12.0 -> 0.13.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-12 20:12:08 -06:00
Austin Seipp 53fb3bb3ef compcert: clean up expression
- Require Coq 8.6.1+
  - Split substituteInPlace call into patchPhase
  - Constrain platforms correctly to x86_64 Linux/Darwin, which was all
it supported anyway (there was no way to properly configure i686 builds,
nor cross builds. In the future there might be)
  - Minor stylistic cleanups
  - Add new 'man' and 'doc' outputs (the previous attempt to move the
build artifact outputs into $lib no longer worked correctly and they
were installed into 'out' instead, this fixes it completely).
  - Clean up weird binary artifacts left in $out (that were already
in $lib)
  - Wrap ccomp to undefine _FORTIFY_SOURCE; otherwise it causes
annoying warnings on every invocation

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-12 20:06:28 -06:00
Austin Seipp 3d36ea6a05 nextpnr: with GUI support, be sure to set QT_PLUGIN_PATH
This is to help QT find all the necessary plugin libraries at startup
time, otherwise it freaks out when run out of 'nix-env' environment or
run directly, e.g.  `./result/bin/nextpnr-ice40 --gui`. The reason for
this is that none of the traditional paths it looks for are available.
The workarounds for this are to otherwise:

  - Install e.g. into environment.systemPackages (presumably it will
then pick up QT libraries in /run/current-system/sw/lib/qt-*)

  - Install 'qtbase' into your user environment (qt will also try to
load dependent libraries out of ~/.nix-profile/lib/qt-*)

However, this QT_PLUGIN_PATH wrapping hack is used elsewhere in the
tree, presumably to mitigate these (poor) workarounds, especially for
non-NixOS users. There seems to be no downside to this.

With this, I have been able to run NextPNR's GUI on an Ubuntu 16.04
system using the 'nixGL' hack by simply running the resulting binary
from anywhere (though there seems to be some glitching artifacts in the
floorplan UI, I suspect this is due to a buggy OpenGL stack rather than
any direct problem with NextPNR or the QT libraries themselves).

This does not mark the GUI build as non-broken yet, though. That will
happen in the future after a bit more testing and splitting nextpnr into
separate minimal/GUI attributes.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-12 15:51:00 -06:00