Files
Michael Daniels 2e87c2f8f4 nixos/*: remove unused let bindings
Generated using deadnix (with some manual work); split from #514611.
2026-05-01 20:39:14 -04:00

35 lines
532 B
Nix

# Run:
# nix-build -A nixosTests.activation-lib
{
lib,
stdenv,
testers,
}:
let
runTests = stdenv.mkDerivation {
name = "tests-activation-lib";
src = ./lib;
buildPhase = ":";
doCheck = true;
postUnpack = ''
patchShebangs --build .
'';
checkPhase = ''
./test.sh
'';
installPhase = ''
touch $out
'';
};
runShellcheck = testers.shellcheck {
name = "activation-lib";
src = runTests.src;
};
in
lib.recurseIntoAttrs {
inherit runTests runShellcheck;
}