mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
tests/functional/shell.nix: Implement runHook for dummy stdenv
This commit is contained in:
parent
c4a20a4101
commit
0f8a655023
@ -26,6 +26,9 @@ let pkgs = rec {
|
||||
fun() {
|
||||
echo blabla
|
||||
}
|
||||
runHook() {
|
||||
eval "''${!1}"
|
||||
}
|
||||
'';
|
||||
|
||||
stdenv = mkDerivation {
|
||||
|
Loading…
Reference in New Issue
Block a user