nix(refactor): Add buildToolbox to streamline module interface towards shell.nix

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent de73ced34a
commit fe497fc438
13 changed files with 94 additions and 91 deletions
+6 -7
View File
@@ -1,7 +1,7 @@
# The memory tests have large dependencies (a profiled build of PostgREST)
# and are run less often than the spec tests, so we don't include them in
# the default test environment. We make them available through a separate module.
{ buildEnv
{ buildToolbox
, checkedShellScript
, curl
, postgrestProfiled
@@ -22,9 +22,8 @@ let
'';
in
buildEnv
{
name = "postgrest-memory";
paths = [ test.bin ];
} // { bashCompletion = test.bashCompletion; }
buildToolbox
{
name = "postgrest-memory";
tools = [ test ];
}