-
Notifications
You must be signed in to change notification settings - Fork 23
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
replace the filepath argument in addToStore
with a more common type NarSource
(The core part)
#177
Conversation
addToStore
with a more common typeaddToStore
with a more common type NarSource
Choices on functions to convert string and filepath to nar is still need to be revised |
path filter should take place in building narsource, remove from addToStore |
Some workflows failed. I don't know what should be done under current situation in hnix-store. |
Yes, that's intentional, see #101 - they are treated as separate packages and we need to first tackle |
cool, understand. |
ifirc the Or you consider this PR ready. The PR never was marked a draft, so seems its status never transmitted consideration of the readiness. Is this PR considered ready? |
@Anton-Latukha , The updated remote and updated core is compatible as I tested in local. But the current PR would break the pipeline. I would stash the remote part changes and make the pipelines work. Then after this PR is merged, pop the stash to make another PR. Stashing is done, please run the workflows. I think it would be ready to merge if the pipelines success |
addToStore
with a more common type NarSource
addToStore
with a more common type NarSource
(The core part)
Ok. Today is late, would attend tomorrow, if the situation would allow. I'd preferred @sorki to review And also the more I involve with |
Can you please rebase due to CI and maybe squash the minor fixes into respective commits? |
Yeah, sure, I will adjust them later on. @sorki rabase done, see if it passes the CI now |
… `type NarSource m = (ByteString -> m ()) -> m ()`. * `FilePath` can turn to `NarSource m`. * `Text` can turn to `NarSource m`
Since NarSource, It should be done building NarSource format
remove trailling whitespace
and move it to Nix.Nar
Somehow I've managed to miss the notification - there were some remnants of merges so I filtered this to only touch |
type NarSource m = (ByteString -> m ()) -> m ()
.FilePath
can turn toNarSource m
.Text
can turn toNarSource m
So It could fix #176