diff --git a/snack-lib/package-spec.nix b/snack-lib/package-spec.nix index c0369f7..8837ec3 100644 --- a/snack-lib/package-spec.nix +++ b/snack-lib/package-spec.nix @@ -15,7 +15,7 @@ rec { , dependencies ? [] , extra-files ? [] , extra-directories ? [] - , packages ? lib.filter (x: builtins.typeOf x != "string") dependencies + , packages ? [] }: { packageMain = main; packageBase = src; diff --git a/tests/library/snack.nix b/tests/library/snack.nix index 0e458cc..ca3c644 100644 --- a/tests/library/snack.nix +++ b/tests/library/snack.nix @@ -6,5 +6,6 @@ let in { main = "Foo"; src = ./app; - dependencies = [ my-lib "conduit" ]; + dependencies = [ "conduit" ]; + packages = [ my-lib ]; }