Cole Helbling
a692003bda
Update nixpkgs to nixos-unstable-small
2021-11-11 16:14:04 -08:00
Cole Helbling
0d5bae416f
Remove update-crates.sh script
...
This has been superceded by just invoking `cargo update` in the regular
development shell (now that we've switched to using `buildRustPackage` instead
of `crate2nix`).
2021-07-07 12:19:54 -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
Andreas Rammhold
0120549043
Update nixpkgs to latest nixos-unstable revision
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
bf07e6e0c0
make update-crates pure
...
This works with --pure now so it doesn't depend on having anything
installed outside of the nix-shell shebang anymore.
2020-05-24 20:26:30 +02:00
Daiderd Jordan
29de5c6134
remove carnix
2020-05-24 20:26:30 +02:00
Daiderd Jordan
bf41d6c035
enforce Cargo.lock is up to date instead of building
2020-05-24 20:26:30 +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
Daiderd Jordan
634e68cb15
nixpkgs: 2020-02-19 -> 2020-05-19
...
It seems like the latest crate2nix depends on some changes to the rust
infrastructure in nixpkgs.
error: cannot coerce null to a string, at pkgs/build-support/rust/build-rust-crate/configure-crate.nix:33:4
2020-05-24 12:52:09 +02:00
Daiderd Jordan
586d83e6cd
apply carnix patches
...
https://nest.pijul.com/pmeunier/carnix/discussions/46
https://nest.pijul.com/pmeunier/carnix/discussions/47
2020-04-29 23:00:53 +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
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
Graham Christensen
ecc49cf75d
Update nixpkgs
2019-01-01 19:31:12 -05:00
Graham Christensen
5ac52234c8
Revert "Revert "Change to nixos-unstable""
...
This reverts commit befa1873cc
.
2018-12-01 10:34:26 -05:00
Graham Christensen
befa1873cc
Revert "Change to nixos-unstable"
...
This reverts commit 8ea6d11fdf
.
2018-12-01 09:36:45 -05:00
Graham Christensen
8ea6d11fdf
Change to nixos-unstable
2018-12-01 09:34:57 -05:00
Graham Christensen
3d597c629a
Update nixpkgs, dependencies, carnix, blah blah blah
2018-11-30 22:22:44 -05:00
Graham Christensen
b964b410b8
Upgrade nixpkgs
2018-09-06 22:29:07 -04:00
Graham Christensen
c5b65f4ead
finishing up the version bump
2018-08-07 17:07:06 -04:00
Graham Christensen
9ccce84eb9
Update the carnix updater to do a cargo build prior to the carnix update
2018-08-07 17:07:05 -04:00
Graham Christensen
0c805575f3
Run carnix!
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
7a9f0134f0
Update carnix for ofborg for 0.1.6
2018-07-14 17:50:49 -04:00
obadz
f35a835768
abort mass-rebuilder if less than 8Gb of memory is "available"
...
…where available is defined as "how much RAM can the kernel give to an
application immediately without having to reach for swap".
2018-06-28 20:53:46 +01:00
Graham Christensen
70d80939d2
Merge pull request #124 from Ekleog/nom
...
Nom
2018-05-09 17:38:28 -04:00
Léo Gaspard
d473806fc4
Add nom dependency
2018-05-04 14:59:11 +02:00
Daiderd Jordan
efdd718f08
nixpkgs: 2018-02-23 -> 2018-04-11
2018-04-12 21:35:07 +02:00
Graham Christensen
e86fc6b75f
Pass a request-id along with build jobs and results
2018-03-18 19:57:56 -04:00
Graham Christensen
38c48da6e2
Bump version: 0.1.4
2018-03-18 18:42:58 -04:00
Graham Christensen
b596e4a96a
d'oh
2018-03-10 19:09:05 -05:00
Graham Christensen
f867a7b257
Update version to 0.1.3
2018-03-10 18:59:56 -05:00
Graham Christensen
ea2614c5ca
Update carnix
2018-03-10 16:06:09 -05:00
Graham Christensen
ca321101e6
Bump nixpkgs
2018-02-23 17:55:35 -05:00
Graham Christensen
aba3ad04e5
Store metadata with logs
2018-02-21 21:36:27 -05:00
Graham Christensen
d749fe5f4d
Implement a nicer stats API but with gross code gen
2018-02-12 20:17:30 -05:00
Graham Christensen
7d16879d63
Add prometheus to ofborg
2018-02-12 20:17:30 -05:00
Graham Christensen
c51f5fed7f
fixup patch to not trace
2018-02-09 19:31:11 -05:00
Graham Christensen
c5fef482ec
Use the patched carnix output for faster builds
2018-02-08 15:18:21 -05:00
Graham Christensen
d466b9d3b7
Use a patched carnix emission with a smarter include
2018-02-08 15:17:43 -05:00
Graham Christensen
5f9bc10a2d
Update nixpkgs
2018-02-08 13:57:10 -05:00
Jörg Thalheim
97d4481131
bump nixpkgs: rust should work on aarch64 again
2018-02-08 10:15:24 +00:00
Jörg Thalheim
1184d71999
rebuild crate expressions with carnix 0.6.5
2018-02-08 10:15:24 +00:00
Graham Christensen
99cf7f87d1
update hubcaps to properly fix #46
2018-02-03 18:58:51 -05:00
Graham Christensen
035f62c46d
ofborg: 0.1.0 -> 0.1.1
2018-01-31 19:40:18 -05:00
Graham Christensen
f9b7aace99
amqp: update to support custom client properties
2018-01-30 09:42:05 -05:00
Graham Christensen
3a62234aab
update amqp to support IPs in the config, and ssl: false cases
2018-01-29 20:09:40 -05:00
Graham Christensen
07f3d265f9
update amqp to avoid self-destruction from heartbeats
2018-01-28 23:21:51 -05:00