tests/functional/shell.nix: Implement runHook for dummy stdenv

This commit is contained in:
Robert Hensing 2024-07-07 13:02:21 +02:00
parent c4a20a4101
commit 0f8a655023

View File

@ -26,6 +26,9 @@ let pkgs = rec {
fun() {
echo blabla
}
runHook() {
eval "''${!1}"
}
'';
stdenv = mkDerivation {