fix: make system-lib imports use namespaces

Previously when you accessed stuff on your lib via snowfall-lib's
internal system-lib (e.g. with lib.snowfall.internal.system-lib.my-namespace.my-lib-function)
the lib which is passed to *your* lib used hardcoded the "internal" name

This makes lib functions in your flake's lib break if they use other lib
functions in your flake's lib
This commit is contained in:
Skyler Grey 2024-06-21 21:31:39 +00:00
parent aa19b02b63
commit 312ad5d16c
No known key found for this signature in database
GPG key ID: F27E3E5922772E7A

View file

@ -30,7 +30,7 @@
namespace = snowfall-config.namespace;
lib = snowfall-lib.attrs.merge-shallow [
base-lib
{internal = user-lib;}
{"${snowfall-config.namespace}" = user-lib;}
];
};
libs =