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

Add a default.nix #5

Closed
JonathanReeve opened this issue Dec 6, 2022 · 9 comments
Closed

Add a default.nix #5

JonathanReeve opened this issue Dec 6, 2022 · 9 comments

Comments

@JonathanReeve
Copy link

It looks like this relies on a number of local packages which could instead be pulled in reliably with a nix config. That would enable anyone testing organon to just run nix develop or equivalent, without having to track down all the dependencies individually.

@srid, do you have an idea about how best to go about this?

@srid
Copy link

srid commented Dec 6, 2022

@JonathanReeve See #3 for background discussion. It may be best to maintain Nix support outside of this repo, since @lucasvreis doesn't use Nix.

As for custom dependencies, check out how Emanote does it:
https://github.com/EmaApps/emanote/blob/9deff5c4f890eb84494420b486e9498d1c001359/flake.nix#L43-L53

@JonathanReeve
Copy link
Author

So I made some progress with updating the flake.nix from #3, but I'm stuck at how to get org-exporters pulled in, which is apparently inside org-mode-hs. Any ideas about how to access a package which is a subdirectory in nix?

@srid
Copy link

srid commented Dec 6, 2022

@lucasvreis
Copy link
Owner

lucasvreis commented Dec 6, 2022

Hi everyone, thanks for the interest but as I have said in the other issue (#2), the project is not usable yet (that's why there is no readme). In the next two or three months I plan to have more time to spend on it and do some sort of release, so please watch the repository instead if you are interested.

Even though there is little activity in the repository, the code I have locally has more than 15k lines changed since the last commit in github. The reason for that is that I still use organon daily to preview my notes, but due to time constraints the changes being made require more polishing, and I would not classify the app in its current state as usable. There are breaking changes planned and 3 other packages being written in parallel (ondim, org-hs, multiwalk), so I would rather not have more people using it for now.

@lucasvreis
Copy link
Owner

Regarding local packages, it's due to what I said in the comment above: I have been changing many things at once locally. All of them will be pushed to hackage eventually, there is no need to use nix (and cabal does support source repository packages too). So I'm closing this.

@lucasvreis
Copy link
Owner

Perhaps the right thing to do would be to set the repo visibility to private, but this would prevent people from watching changes. I'm not sure. I've written a note in the description in attempt to be more clear about it.

@srid
Copy link

srid commented Dec 6, 2022

@lucasvreis You can disable 'Issues' from repository settings.

@lucasvreis
Copy link
Owner

lucasvreis commented Dec 6, 2022

@srid I have no problem with the interactions, I'm just a bit sorry that you both spent some time trying to set up nix 😅. What I would like is to prevent more people trying to set it up (and failing for the reasons I wrote above).

@srid
Copy link

srid commented Dec 6, 2022

@lucasvreis Feel no pressure. I appreciate you publishing these open source projects. There is no obligation to address every user request. You can see a bunch of user requests here and here that I just let sit around due to lack of time or interest.

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

No branches or pull requests

3 participants