org2any
org2any copied to clipboard
how to install?
I tried many things but get errors using both nix and stack. The command
nix-build release.nix
results in the error message
error: getting status of '/Users/carlcotner/org2any/release.nix': No such file or directory
The command
stack install
results in the message
Error parsing targets: The specified targets matched no packages. Perhaps you need to run 'stack init'?
and running
stack init
ends with
Selected resolver: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/16.yaml Resolver 'https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/16.yaml' does not have all the packages to match your requirements.
Do you have any advice?
There are a few issues with this:
- It's based on outdated library https://github.com/ixmatus/orgmode-parse. I want to fix that by using https://github.com/fosskers/org-mode
- It was implemented using
nixas a build tool, which is a bit complicated for me. I want to fix that by using usual stack + cabal
I want to continue maintaining this project so I'll give an update on this in a week or so.
Thanks for interest in this project!
Thanks so much for your response. I would love to be able to sync my org todos with my Reminders, and I will keep an eye out for an update. Although I've been reading about it and following it for years, I am new to the practical aspects of Haskell and its ecosystem, so if you need any testing from a newbie, just let me know!
On Mon, Oct 25, 2021 at 4:38 PM Serhii @.***> wrote:
There are a few issues with this:
- It's based on outdated library https://github.com/ixmatus/orgmode-parse. I want to fix that by using https://github.com/fosskers/org-mode
- It was implemented using nix as a build tool, which is a bit complicated for me. I want to fix that by using usual stack + cabal
I want to continue maintaining this project so I'll give an update on this in a week or so.
Thanks for interest in this project!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/serhiip/org2any/issues/1#issuecomment-951309490, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPUVUTRZXAB52D2CHTDCDUIW54RANCNFSM5GS5MGKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi! I'd love to use this as well and I am not yet able to install it. Instead of nix-build release.nix, I got forward with nix-build default.nix but the compilation failed probably because of the M1 processor architecture:
setupCompileFlags: -package-db=/private/tmp/nix-build-org2any-cli-0.0.10.drv-0/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /private/tmp/nix-build-org2any-cli-0.0.10.drv-0/Main.o )
Linking Setup ...
ld: file not found: /usr/lib/system/libcache.dylib for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
`cc' failed in phase `Linker'. (Exit code: 1)
error: builder for '/nix/store/1gk537xvaq4glzg3llw8h9rjrsm8a20y-org2any-cli-0.0.10.drv' failed with exit code 1;
last 10 log lines:
> unpacking source archive /nix/store/b02ibqghhr31lim3zcc4vrq0xfwhbclx-org2any
> source root is org2any
> patching sources
> compileBuildDriverPhase
> setupCompileFlags: -package-db=/private/tmp/nix-build-org2any-cli-0.0.10.drv-0/setup-package.conf.d -j4 -threaded
> [1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /private/tmp/nix-build-org2any-cli-0.0.10.drv-0/Main.o )
> Linking Setup ...
> ld: file not found: /usr/lib/system/libcache.dylib for architecture x86_64
> clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
> `cc' failed in phase `Linker'. (Exit code: 1)
stack did not work either, yet. I wonder if somebody using this has an Apple processor and the related problems can be overcome easily.
Since this thread was started, I've made a few improvements: I've added automated builds through GitHub actions and replaced org file parser with https://github.com/fosskers/org-mode.
Around that time, I also decided to upgrade to OSX Monterey, which brought a few changes to the Reminders application (which I use through AppleScript), and now I am incorporating those changes. To make this org2any minimally usable, I need to implement the following two features:
- support for nesting in OSX Reminders (before OSX Monterey, there were no nesting functionality - all the lists were flat)
- improve elisp package to not trigger sync on each file and allow for configuration of where the file should be synced to
After those changes are introduced, I'll publish a release that would bring some minimal benefit.
CLI utility can be installed through cabal, but I am also working on the installation script for brew package manager.
Thanks for your interest in this project; I will post an update in a week or so