-
|
Hello, I'm trying to make my user aspect configurable from an host option called { __findFile, ... }:
let
gui-includes = [
<ble/apps/gui>
];
no-gui-includes = [
<ble/apps/cli>
];
in
{
den.aspects.benjamin._.gui =
{ host, ... }:
if (host.hasGui or true) then { includes = gui-includes; } else { includes = no-gui-includes; };
den.aspects.benjamin = {
includes = [
<den.aspects.benjamin/gui>
];
};
}Files are syntactical correct but gui applications are not included... I read the https://den.oeiuwq.com/context-aware.html documentation page but I don't understand it... Can someone help me to fix my code or give me link to a working example? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
hi, this is a bug (#145) where parametric aspects are not included for user. I hope to be working on it today. |
Beta Was this translation helpful? Give feedback.
-
|
that's the correct way to test the host option. the error |
Beta Was this translation helpful? Give feedback.
Thanks a lot for your reproduction repo, it was very helpful. I've added tests based on your code and fixed the bug at #153