1
1
mirror of https://github.com/nmattia/snack.git synced 2024-11-28 20:49:23 +03:00

Make packages explicit

This commit is contained in:
Nicolas Mattia 2018-06-22 16:14:10 +02:00
parent 1664d51453
commit 1386fbf9d3
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ rec {
, dependencies ? []
, extra-files ? []
, extra-directories ? []
, packages ? lib.filter (x: builtins.typeOf x != "string") dependencies
, packages ? []
}:
{ packageMain = main;
packageBase = src;

View File

@ -6,5 +6,6 @@ let
in
{ main = "Foo";
src = ./app;
dependencies = [ my-lib "conduit" ];
dependencies = [ "conduit" ];
packages = [ my-lib ];
}