Commit graph

33 commits

Author SHA1 Message Date
Cole Helbling a328bf8aeb Use flake-compat for shell.nix, default.nix
This also means we can drop the entire `nix` subdirectory as well as the
`release.nix` file (since we have `hydraJobs` in our flake).
2022-10-28 09:59:38 -07:00
Artturin b8077fc935 buildresult.rs: use skipped instead of neutral for a skipped job
doesn't make much sense for a skipped job to be neutral
2022-04-19 11:04:16 -07:00
Cole Helbling 0a682f561c Bump hubcaps fork again to use u64 over u32 for CheckSuite ids 2021-12-29 13:06:00 -08:00
Cole Helbling c16f183447 Bump hubcaps fork to fix "invalid value: integer 4660755204, expected i32"
....I hope.
2021-12-29 11:17:11 -08:00
Cole Helbling 26330ecb99 Add Security to buildInputs
For some reason, the overlay at nix/overlay.nix doesn't appear to be respected
(or, maybe `defaultCrateOverrides` isn't being respected). Either way, this is
necessary for darwin builds to succeed.
2021-07-07 14:46:49 -07:00
Andreas Rammhold 804bb34181 Move from crate2nix to buildRustPackage based on the Cargo.lock
Nixpkgs recently gained the ability to fetch cargo dependencies based on
the Cargo.lock file which means we can get rid of all the generated Nix
expressions. The only downside to that is that we are now building
everything in one go and do not have the semi-incremental builds as we
had before.
2021-07-07 12:19:54 -07:00
Andreas Rammhold 179f1fc018 Update rust dependencies 2021-07-07 12:19:54 -07:00
Daiderd Jordan 9aecc91a09
remove openssl_1_0_2
With rust-amqp gone this isn't referenced anymore.
2020-05-24 23:34:41 +02:00
Daiderd Jordan 0a7e29b7d7
generate Cargo.nix with cargo2nix 2020-05-24 20:26:26 +02:00
Daiderd Jordan dcb534e3ae
replace update-carnix.sh
Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in
separately.
2020-05-24 13:35:06 +02:00
Graham Christensen 65db4d0da0
Pepper in allowing old openssl 2020-05-19 23:19:00 -04:00
Daiderd Jordan 5669d9b47e
disable debug build on darwin
Currently broken due to the .dSYM folders it generates next to the binaries.

See https://github.com/NixOS/nixpkgs/pull/83488
2020-04-25 14:38:44 +02:00
Daiderd Jordan 40c759e027
add build for ofborg-simple-build 2020-04-25 14:32:42 +02:00
Daiderd Jordan 0139cd5621
move carnix files to workspace 2020-04-25 13:54:57 +02:00
Graham Christensen fa5d6425fe
Build release=false 2020-04-02 10:27:07 -04:00
Andreas Rammhold 41687fe743
Update to current nixpkgs-unstable
This required the introduction of an overlay file since ofBorg still
requires openssl 1.0.2. Updating to newer version of openssl also
requires updating the amqp library which requires some more involved
changes.

The php code is only updated to php 7.2 and not 7.3 (the default in
nixpkgs) since there seem to been a few syntax changes that aren't yet
compatible with composer2nix.

In previous versions of the rust infrastructure within nixpkgs we would
have been able to override all crates during the invocation of the
target crate. That `override` feature was removed as it caused a huge
eval overhead for larger projects. We did end up with (n^2)
instantiations of dependencies since they were being overriden on every
invocation of every dependency on every level further down the chain.
The current understanding is that the build tooling that each project is
using (e.g.  crate2nix, crate2nix, …) that is driving the actual build
could easily reintroduce that feature without the overhead.

pin to php72
2020-02-21 17:10:45 +01:00
Daiderd Jordan f6a94756cb
add back Security on darwin and cleanup expression 2018-12-04 21:35:33 +01:00
Graham Christensen 3d597c629a
Update nixpkgs, dependencies, carnix, blah blah blah 2018-11-30 22:22:44 -05:00
Graham Christensen 648fcf0405
Package up dependencies with composer2nix
I had to patch composer2nix with:

require_once(dirname(__FILE__)./../../../../vendor/autoload.php);
2018-08-08 13:28:14 -04:00
Graham Christensen a98152fb94
Fail the build if the version is updated and carnix isn't 2018-08-07 17:07:05 -04:00
Graham Christensen 08483279ba
Delete ircbot from this repo 2018-08-07 16:01:27 -04:00
Graham Christensen 5160f28728
ofborg: stub in foo-bar and foo_bar commands 2018-05-04 11:41:44 -04:00
Jörg Thalheim 1184d71999 rebuild crate expressions with carnix 0.6.5 2018-02-08 10:15:24 +00:00
Graham Christensen ba73ff49c8
0.1.0 -> 0.1.1 fixup 2018-01-31 20:12:22 -05:00
Graham Christensen 186c6e6310
Try another approach of passing in the security framework 2017-12-09 09:51:25 -05:00
Graham Christensen b1213d6374
Try passing Security for ofborg 2017-12-08 22:42:03 -05:00
Graham Christensen 2981bd7f98
assorted patches 2017-12-04 21:30:43 -05:00
Graham Christensen 8c9e63d12c
Move all the PHP stuff to a subdir 2017-12-04 21:30:15 -05:00
Graham Christensen 781bdcdf8d
Setup ircbot 2017-12-04 20:58:08 -05:00
Graham Christensen 694b9ce1c5
Remove excess dependencies 2017-12-04 20:43:40 -05:00
Graham Christensen 016fffc01e
Make a hydra-compatible job 2017-11-30 08:05:26 -05:00
Graham Christensen 07d798dce2
fixup the default.nix 2017-11-30 07:14:54 -05:00
Graham Christensen 2af2ea188e
create a carnix updater 2017-11-29 22:32:33 -05:00