nixos-config/subprojects/wrapper-manager-fds/tests/lib/utils.nix
Gabriel Arazas 0f1df5e447
wrapper-manager-fds/tests: init derivation for tests
This is to make checking with flakes a bit easier. Though, there are
much better ways to integrate this even with just the nix-command
experimental feature.
2024-07-13 17:00:06 +08:00

26 lines
424 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"
];
};
}