feat(users/Profpatsch): build attrset members on CI

Setting meta.targets to include all derivations in the different package
sets in Profpatsch's user folder makes them checked by CI until they do
the readTree refactor as promised.

To reduce code duplication we handle this in a simple function which is
exposed from nix.utils which may be a good place for depot specific bits
and bops we accumulate over time.

To get around the issue of too nested sets we perform the following
renames:

* users.Profpatsch.tests gets moved into its own directory
* users.Profpatsch.arglib.netencode now lives in its own file instead of
  the default.nix
* users.Profpatsch.netstring.tests gets moved into its own directory

Change-Id: Icd039c29d7760a711c1c53554504d6b0cd19e120
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2603
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
sterni 2021-03-15 22:32:16 +01:00
parent 5b9229186f
commit 5d8490d2fc
11 changed files with 58 additions and 43 deletions

View file

@ -138,19 +138,6 @@ let
];
in drvSeqL [ tests ] (crate false);
tests = import ./tests.nix {
inherit
depot
pkgs
python3
python3Lib
rustSimpleLib
rustSimple
testRustSimple
;
};
in {
inherit
python3
@ -159,6 +146,5 @@ in {
rustSimpleBin
rustSimpleLib
testRustSimple
tests
;
}