Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
|
|
bats.libraries: reduce output size
|
|
|
|
|
|
|
|
Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
|
|
Adds a `bats.withLibraries (p: [ ... ])` function, which creates a
`bats` wrapper where the `BATS_LIB_PATH` environment variable contains
fallbacks for the given list of libraries.
This allows to e.g. use the `bats-assert` library (which itself requires the
`bats-support` library) with
bats.withLibraries (p: [ p.bats-support p.bats-assert ])
In a `.bats` file you can then call `bats_load_library` [1] to load the
libraries in the `setup()` function:
setup() {
bats_load_library bats-support
bats_load_library bats-assert
}
[1]: https://bats-core.readthedocs.io/en/stable/writing-tests.html?highlight=library#bats-load-library-load-system-wide-libraries
|
|
- init bats-assert 2.0.0
- init bats-support 0.3.0
- init bats-file 0.3.0
|
|
|
|
I happily painted myself into a corner when converting bats to use
resholve. Since resholve tests itself with bats, all updates to
resholve now require rebuilding bats. The build itself is quick, but
the tests take a few minutes; moving them into passthru saves time. :)
|
|
The resholve 0.8.0 release includes better support for intra-package
references, making it possible to also resholve files in lib/libexec.
This process helped shake loose 5 more unnoticed package dependencies,
and enable bats' parallel execution support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
|
|
|
|
Using `readlink -f` requires coreutils, on platforms like darwin where
this isn't the GNU variant by default it would fail outide of a
nix-shell.
|
|
|
|
|
|
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|
|
|
|
|
The build was failing with:
/...-stdenv/setup: ./install.sh: /usr/bin/env: bad interpreter: No such file
or directory
See https://hydra.nixos.org/build/32353411/log
|
|
|