nix(refactor): Add buildToolbox to streamline module interface towards shell.nix
This commit is contained in:
committed by
Wolfgang Walther
parent
de73ced34a
commit
fe497fc438
+10
-6
@@ -1,4 +1,4 @@
|
||||
{ buildEnv
|
||||
{ buildToolbox
|
||||
, postgrest
|
||||
, dockerTools
|
||||
, checkedShellScript
|
||||
@@ -37,9 +37,13 @@ let
|
||||
''
|
||||
docker load -i ${image}
|
||||
'';
|
||||
|
||||
in
|
||||
buildEnv
|
||||
{
|
||||
name = "postgrest-docker";
|
||||
paths = [ load.bin ];
|
||||
} // { inherit image; bashCompletion = load.bashCompletion; }
|
||||
buildToolbox
|
||||
{
|
||||
name = "postgrest-docker";
|
||||
tools = [ load ];
|
||||
extra = {
|
||||
inherit image;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user