Skip to content

Static directory must implicitly be called "static" in any case even if derivation #1113

Open
@augyg

Description

@augyg

For any obelisk project where static is a derivation the staticFiles attribute implicitly needs to be

staticFiles = import ./static {inherit pkgs;};

where the filepath can only be ./static

if the folder passed to import was ./static2 or something else, the static derivation watcher watchStaticFilesDerivation will ignore it

https://github.com/obsidiansystems/obelisk/blob/master/lib/command/src/Obelisk/Command/Project.hs#L470-L475

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions