Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A series of "clenups" #5

Merged
merged 6 commits into from
Apr 3, 2021
Merged

Conversation

blaggacao
Copy link

I atill have to find out wether jt's possible to take out the first commit on my cel, as discussed.

David Arnold and others added 6 commits April 1, 2021 21:10
It is not generally useful for everybody to export devos-lib.
We can reintroduce a lib-exportin interface, once we conceputualize
the private library sharing use case properly.
currently, there is no need for a recursiveUpdate, and since flake
requires flattened trees, there might never be a good enough reason
to use it at the expense of introducing a dependency on lib.
evalFlakeArgs is a private function to mkFlake, so there is no reason
expense going over the top level namespace.

Unfortunately, keeping boundaries around future devos-lib, this also
means we cannot introduce a dependency on pkgs, and vie versa we cannot
introduce a dependency on devos-lib lighthartedly (without a clear api)
on pkgs. While this is genuinly useful, we ight need to find a cleaner
and more organized way to implement this in the future.
we should consequently avoid variable redefintions while traversing
through layers and interfaces. self is a flake native term and refers
to a handle to the flake repo itself.
since lib is structured after upstream lib (lists, attrs, strings), and
it is even conceived as lib.makeExtensible, it does not appear
in line to namespace devos specific library additions: not only is the
name `dev` little self explaining, we also have the `os` namespace, for
if library functions are devos specific. The rest are just confenience
functions which might as well ladn upstream one day.
@Pacman99 Pacman99 merged commit fe7b0c7 into Pacman99:mkflake Apr 3, 2021
@blaggacao blaggacao deleted the da/mkFlake/simplify-2 branch April 22, 2021 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants