Commit graph

41 commits

Author SHA1 Message Date
Andreas Rammhold 986be3ceb7 Remove the usage of the mozilla rust overlay
By switching to the tools bundled within nixpkgs we can provide a much
more "pure" development environment that doesn't randomly change over
time.

Previously we would be using the latest and greatest version of the
formatting and linting tools while our development environment only
offered whatever was in the (old) nixpkgs pin. Nowadays we have all the
tools we need in nixpkgs and can thus use those instead. By following
nixpkgs more closely we can make sure to make use of those tools in this
project as well. Hopefully removing the "yearly churn" of doing big
migrations.

For the meantime I allowed the upper case acronyms check (and a few
other minor lints) in the clippy configuration. This will allow a
smoother transition towards the newer clippy code that is decoupled from
the actual linting changes.
2021-07-07 12:19:54 -07:00
Andreas Rammhold b29f146bd7 Remove the oldpkgs GLIBC hack
It has been almost three years since this was introduced for the sake of
fixing builds on TravisCI. The project since moved to GitHub Actions and
this shouldn't be required anymore.
2021-07-07 12:19:54 -07:00
Sandro Jäckel 231953bf2e Remove usage of stdenv.lib 2021-04-01 21:10:04 -07:00
Sandro f077854ba7 pkgconfig -> pkg-config 2021-03-17 09:52:00 -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 29de5c6134
remove carnix 2020-05-24 20:26:30 +02:00
Graham Christensen 65db4d0da0
Pepper in allowing old openssl 2020-05-19 23:19:00 -04: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
Cole Helbling 35bb3a8975
Remove nix1
As of NixOS/nixpkgs@7121160, nix1 has been removed from Nixpkgs. Thus, we
remove it here.
2020-04-12 11:04:40 -07:00
Graham Christensen f9086a62ec
upgrade hubcaps for nullable target URLs 2020-04-02 11:37:23 -04:00
Andreas Rammhold 31205e3ce9
Update shell.nix to use openssl_1_0_2 2020-02-21 17:23:13 +01:00
Graham Christensen c8ae149731
Shell: use rust from mozilla 2019-03-22 13:10:46 -04:00
Graham Christensen f6192a7f35
move pedantry up, set -x 2019-01-02 21:29:01 -05:00
Graham Christensen f2030c2ee5
Extra nl 2019-01-02 20:52:45 -05:00
Graham Christensen 671a9257c9
Check clippy and fmt in travis 2019-01-02 20:18:42 -05:00
Graham Christensen 87974028d1
build phase for rust pedantry 2019-01-02 20:06:50 -05:00
Graham Christensen 0263690cda
Pass the mozilla overlay to shell.nix's import 2019-01-02 19:42:37 -05:00
Graham Christensen 8772e2b4a9
cargo build then test 2018-12-01 08:50:54 -05:00
Graham Christensen c77e5231e3
cargo test without --lib (for real) 2018-11-30 23:25:01 -05:00
Graham Christensen c1ba548bf1
cargo test without --lib 2018-11-30 23:20:00 -05:00
Graham Christensen 9cc5afc2ee
Try random stuff to make tests run in Travis 2018-11-30 23:04:43 -05:00
Graham Christensen 3d597c629a
Update nixpkgs, dependencies, carnix, blah blah blah 2018-11-30 22:22:44 -05:00
Daiderd Jordan ca394e80b1
make glibcLocales linux only
On darwin this isn't needed and is null, causing an evaluation error.
2018-10-24 11:41:06 +02:00
Graham Christensen 5293fb7784
Always show ofborg debug logs in a nix-shell 2018-09-06 22:31:25 -04:00
Graham Christensen ff554bf3ea
Hopefully help debug test failures 2018-09-06 22:31:07 -04:00
Graham Christensen 17911c00fc
Improve test debugging on Travis CI 2018-09-06 22:30:53 -04:00
Léo Gaspard aeaf93b9f4
Default to building with nix2
Nix is now mostly used in its version 2, so let's switch to that.
2018-05-04 16:02:04 +02:00
Daiderd Jordan bf8ed0538f
run build on travis and make warnings fail 2018-04-12 23:39:45 +02:00
Daiderd Jordan efdd718f08
nixpkgs: 2018-02-23 -> 2018-04-11 2018-04-12 21:35:07 +02:00
Daiderd Jordan 38d2fe8672
add shell.nix argument for nix version 2018-04-11 18:08:23 +02:00
Casey Ransom 7c9c491e73
make git an explicit dependency
My very old (10.10.x) builder tried to run a job, but failed with `error: unknown option `reference-if-able'` as it appears to have been using the system git which is also ancient. I'm still pending another job but i think this fixes it.
2018-01-29 14:27:34 -05:00
Graham Christensen e66776cee8
Rustfmt 2018-01-21 14:17:25 -05:00
Graham Christensen 90a25627a6
Add the security framework on darwin to the nix-shell 2017-12-25 20:38:27 -05:00
Graham Christensen 98283d4eaa
Remove PHP bits 2017-12-10 16:12:54 -05:00
Graham Christensen 7e547c8aaf
Default to the rustEnv for the shell 2017-12-04 20:55:44 -05:00
Graham Christensen c2ff6a0852
use the pinned nixpkgs for the shell 2017-11-29 22:31:40 -05:00
Graham Christensen 5b62137ebe
Implement the build-filter
1. You must have a clone of amqp from
https://github.com/grahamc/rust-amqp in ./rust-amqp
to fix openssl bugs
2017-11-14 08:32:28 -05:00
Graham Christensen dcca963ba7
I need to commit more often so I don't commit commit-message-bankruptcy 2017-11-09 07:33:10 -05:00
Graham Christensen 1a536ce296
just pretend this makes sense 2017-11-08 03:34:48 -05:00
Graham Christensen 1fb5e7d6b9
rust? 2017-11-05 09:46:42 -05:00
Graham Christensen 0c7b2f252e
Initial port from my network 2017-10-29 17:10:26 -04:00