mirror of
https://github.com/NixOS/nix.git
synced 2025-02-16 17:02:28 +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() {
|
fun() {
|
||||||
echo blabla
|
echo blabla
|
||||||
}
|
}
|
||||||
|
runHook() {
|
||||||
|
eval "''${!1}"
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
stdenv = mkDerivation {
|
stdenv = mkDerivation {
|
||||||
|
Loading…
Reference in New Issue
Block a user