/
ne1ghost
/
nix
Обзор
Документация
Войти
/
ne1ghost
/
nix
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/functional/plugins.sh
12 строк
289 B
John Ericson
No longer copy functional tests to the build dir
04 ноя 2024, 00:42
04 ноя 2024, 00:42
9d2ed0a
Код
Авторство
О чём код?
#!/usr/bin/env bash source common.sh for ext in so dylib; do plugin="${_NIX_TEST_BUILD_DIR}/plugins/libplugintest.$ext" [[ -f "$plugin" ]] && break done res=$(nix --option setting-set true --option plugin-files "$plugin" eval --expr builtins.anotherNull) [ "$res"x = "nullx" ]