mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
471 B
471 B
guileImportsCheckHook
This hook checks if a guile package can be imported. The hook is automatically
propagated by guile, so using it is as simple as:
{
lib,
stdenv,
guile,
# ...
}:
stdenv.mkDerivation (finalAttrs: {
# ...
nativeBuildInputs = [ guile ];
guileImportsCheck = [
"package"
];
# ...
})
The guileImportsCheckHook package can also included manually in
nativeBuildInputs if one desires.