mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-31 04:58:17 +00:00
Gabriel Arazas
76d6dbb1d8
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.
26 lines
424 B
Nix
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"
|
|
];
|
|
};
|
|
}
|