mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
wrapper-manager-fds/tests: init utils subset
This commit is contained in:
parent
a04da2a0ec
commit
62520e543e
@ -9,4 +9,5 @@ let
|
||||
in
|
||||
{
|
||||
env = callLib ./env;
|
||||
utils = callLib ./utils.nix;
|
||||
}
|
||||
|
25
subprojects/wrapper-manager-fds/tests/lib/utils.nix
Normal file
25
subprojects/wrapper-manager-fds/tests/lib/utils.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ pkgs, lib, self }:
|
||||
|
||||
lib.runTests {
|
||||
testsUtilsGetBin = {
|
||||
expr = self.utils.getBin [
|
||||
../modules
|
||||
../../modules
|
||||
];
|
||||
expected = [
|
||||
(lib.getBin ../modules)
|
||||
(lib.getBin ../../modules)
|
||||
];
|
||||
};
|
||||
|
||||
testsUtilsGetLibexec = {
|
||||
expr = self.utils.getLibexec [
|
||||
../modules
|
||||
../../modules
|
||||
];
|
||||
expected = [
|
||||
"${../modules}/libexec"
|
||||
"${../../modules}/libexec"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user