mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-30 22:57:58 +00:00
52 lines
841 B
Nix
52 lines
841 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
self,
|
|
}:
|
|
|
|
lib.runTests {
|
|
testsUtilsGetBin = {
|
|
expr = self.utils.getBin [
|
|
../../lib
|
|
../../modules
|
|
];
|
|
expected = [
|
|
(lib.getBin ../../lib)
|
|
(lib.getBin ../../modules)
|
|
];
|
|
};
|
|
|
|
testsUtilsGetLibexec = {
|
|
expr = self.utils.getLibexec [
|
|
../../lib
|
|
../../modules
|
|
];
|
|
expected = [
|
|
"${../../lib}/libexec"
|
|
"${../../modules}/libexec"
|
|
];
|
|
};
|
|
|
|
testsUtilsGetXdgConfigDirs = {
|
|
expr = self.utils.getXdgConfigDirs [
|
|
../../lib
|
|
../../modules
|
|
];
|
|
expected = [
|
|
"${../../lib}/etc/xdg"
|
|
"${../../modules}/etc/xdg"
|
|
];
|
|
};
|
|
|
|
testsUtilsGetXdgDataDirs = {
|
|
expr = self.utils.getXdgDataDirs [
|
|
../../lib
|
|
../../modules
|
|
];
|
|
expected = [
|
|
"${../../lib}/share"
|
|
"${../../modules}/share"
|
|
];
|
|
};
|
|
}
|