mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
tests/functional/shell.nix: Implement runHook for dummy stdenv
This commit is contained in:
parent
c4a20a4101
commit
0f8a655023
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ let pkgs = rec {
|
|||
fun() {
|
||||
echo blabla
|
||||
}
|
||||
runHook() {
|
||||
eval "''${!1}"
|
||||
}
|
||||
'';
|
||||
|
||||
stdenv = mkDerivation {
|
||||
|
|
Loading…
Reference in a new issue