mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
19 lines
319 B
Nix
19 lines
319 B
Nix
# Run:
|
|
# nix-build -A nixosTests.nix-channel
|
|
{ lib, testers }:
|
|
let
|
|
inherit (lib) fileset;
|
|
|
|
runShellcheck = testers.shellcheck {
|
|
src = fileset.toSource {
|
|
root = ./.;
|
|
fileset = fileset.unions [
|
|
./activation-check.sh
|
|
];
|
|
};
|
|
};
|
|
|
|
in
|
|
lib.recurseIntoAttrs {
|
|
inherit runShellcheck;
|
|
}
|