Comments (8)
@sk91 Someone on Matrix reported that you can install neuron on M1 using Rosetta. Can you try this command?
nix profile install github:srid/neuron --option system x86_64-darwin
from neuron.
@richardstrnad Neuron is in maintenance mode. You can try:
nix-env -if https://github.com/srid/neuron/archive/update.tar.gz -v
Which should use #670 - but it is in draft, so YMMV.
I'd just suggest you switch to Emanote, which does work on M1 mac. Otherwise somebody needs to spend some time porting neuron to m1 mac.
from neuron.
Thanks for the quick reply!
I saw the information about Emanote, but unfortunately the really nice https://github.com/oberblastmeister/neuron.nvim nvim plugin does currently only support Neuron (as far as I understand at least). That was the reason why i would love to keep using Neuron (for now).
The installation is currently running, will update later.
from neuron.
I came close to getting it to build on M1. It compiles, but segfaults at linking stage: #670 (comment)
Perhaps you can bribe one of the Nix people to help fix it :-)
from neuron.
Will give it a try ;-)
Thanks for the help and the great product (using it already on my intel based macbook). Issue can be closed from my point of view.
from neuron.
I'd like to support M1 if possible. I could use some Nix help in #670
from neuron.
:( have the same issue, want to use neuron.nvim but cannot install neuron on Mac M1 Max
tried to install the update
branch, but it does not work yet
log
nix run github:srid/neuron/update --extra-experimental-features nix-command --extra-experimental-features flakes --show-trace error: failed to extract archive (Can't replace existing directory with non-directory)… while evaluating 'fetch' at /nix/store/34y73fm1wiv6570agjs633q1r3z0m0kh-source/dep/directory-contents/thunk.nix:2:13: 1| # DO NOT HAND-EDIT THIS FILE 2| let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }: | ^ 3| if !fetchSubmodules && !private then builtins.fetchTarball { … from call site at /nix/store/34y73fm1wiv6570agjs633q1r3z0m0kh-source/dep/directory-contents/thunk.nix:9:4: … while evaluating the file '/nix/store/34y73fm1wiv6570agjs633q1r3z0m0kh-source/dep/directory-contents/thunk.nix': … while evaluating 'thunkSource' at /nix/store/622mj251cgg8kfi4y8vyyp3nllqjljy7-source/default.nix:27:17: 26| # Retrieve source that is controlled by the hack-* scripts; it may be either a stub or a checked-out git repo 27| thunkSource = p: | ^ 28| let … from call site at /nix/store/34y73fm1wiv6570agjs633q1r3z0m0kh-source/project.nix:50:26: 49| pandoc-link-context = thunkSource ./dep/pandoc-link-context; 50| directory-contents = thunkSource ./dep/directory-contents; | ^ 51| reflex-fsnotify = thunkSource ./dep/reflex-fsnotify; … while evaluating the attribute 'directory-contents' at /nix/store/34y73fm1wiv6570agjs633q1r3z0m0kh-source/project.nix:50:5: 49| pandoc-link-context = thunkSource ./dep/pandoc-link-context; 50| directory-contents = thunkSource ./dep/directory-contents; | ^ 51| reflex-fsnotify = thunkSource ./dep/reflex-fsnotify; … while evaluating 'canCleanSource' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/lib/sources.nix:230:20: 229| 230| canCleanSource = src: src ? _isLibCleanSourceWith || !(pathHasContext (toString src)); | ^ 231| … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:207:20: 206| inherit name extraCabal2nixOptions; 207| src = if pkgs.lib.canCleanSource src | ^ 208| then pkgs.lib.cleanSourceWith { inherit src filter; } … while evaluating the attribute 'buildCommand' of the derivation 'cabal2nix-directory-contents' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/stdenv/generic/make-derivation.nix:205:7: 204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 205| name = | ^ 206| let … while realising the context of a path at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:87:47: 86| # info that callPackage uses to determine the arguments). 87| drv = if lib.isFunction fn then fn else import fn; | ^ 88| auto = builtins.intersectAttrs (lib.functionArgs drv) scope; … while evaluating 'ensureAttrs' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:91:21: 90| # Converts a returned function to a functor attribute set if necessary 91| ensureAttrs = v: if builtins.isFunction v then { __functor = _: v; } else v; | ^ 92| … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:94:27: 93| # this wraps the `drv` function to add a `overrideScope` function to the result. 94| drvScope = allArgs: ensureAttrs (drv allArgs) // { | ^ 95| overrideScope = f: … while evaluating 'drvScope' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:94:18: 93| # this wraps the `drv` function to add a `overrideScope` function to the result. 94| drvScope = allArgs: ensureAttrs (drv allArgs) // { | ^ 95| overrideScope = f: … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/lib/customisation.nix:69:16: 68| let 69| result = f origArgs; | ^ 70| … while evaluating 'makeOverridable' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/lib/customisation.nix:67:24: 66| */ 67| makeOverridable = f: origArgs: | ^ 68| let … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:104:8: 103| }; 104| in lib.makeOverridable drvScope (auto // manualArgs); | ^ 105| … while evaluating 'callPackageWithScope' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:78:37: 77| # here `bar` is a manual argument. 78| callPackageWithScope = scope: fn: manualArgs: | ^ 79| let … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:121:28: 120| defaultScope = mkScope self; 121| callPackage = drv: args: callPackageWithScope defaultScope drv args; | ^ 122| … while evaluating 'callPackage' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:121:22: 120| defaultScope = mkScope self; 121| callPackage = drv: args: callPackageWithScope defaultScope drv args; | ^ 122| … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:169:9: 168| }; 169| }) (self.callPackage src args); | ^ 170| … while evaluating 'overrideCabal' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/lib/compose.nix:38:22: 37| */ 38| overrideCabal = f: drv: (drv.override (args: args // { | ^ 39| mkDerivation = drv: (args.mkDerivation drv).override f; … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:157:5: 156| callPackageKeepDeriver = src: args: 157| overrideCabal (orig: { | ^ 158| preConfigure = '' … while evaluating 'callPackageKeepDeriver' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:156:33: 155| # annoyance. 156| callPackageKeepDeriver = src: args: | ^ 157| overrideCabal (orig: { … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:213:14: 212| inherit src; 213| }) (callPackageKeepDeriver expr args); | ^ 214| … while evaluating 'overrideCabal' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/lib/compose.nix:38:22: 37| */ 38| overrideCabal = f: drv: (drv.override (args: args // { | ^ 39| mkDerivation = drv: (args.mkDerivation drv).override f; … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:211:10: 210| }; 211| in overrideCabal (orig: { | ^ 212| inherit src; … while evaluating 'callCabal2nixWithOptions' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:200:66: 199| # Creates a Haskell package from a source package by calling cabal2nix on the source. 200| callCabal2nixWithOptions = name: src: extraCabal2nixOptions: args: | ^ 201| let … from call site at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:215:38: 214| 215| callCabal2nix = name: src: args: self.callCabal2nixWithOptions name src "" args; | ^ 216| … while evaluating 'callCabal2nix' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/development/haskell-modules/make-package-set.nix:215:32: 214| 215| callCabal2nix = name: src: args: self.callCabal2nixWithOptions name src "" args; | ^ 216| … from call site at /nix/store/34y73fm1wiv6570agjs633q1r3z0m0kh-source/project.nix:77:26: 76| 77| directory-contents = self.callCabal2nix "directory-contents" sources.directory-contents { }; | ^ 78| … while evaluating anonymous lambda at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/stdenv/generic/make-derivation.nix:156:13: 155| (map (drv: drv.__spliced.hostHost or drv) depsHostHost) 156| (map (drv: drv.crossDrv or drv) buildInputs) | ^ 157| ] … from call site … while evaluating 'getOutput' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/lib/attrsets.nix:598:23: 597| */ 598| getOutput = output: pkg: | ^ 599| if ! pkg ? outputSpecified || ! pkg.outputSpecified … from call site … while evaluating the attribute 'buildInputs' of the derivation 'neuron-1.9.36.0' at /nix/store/l5l4i271x3mmbbjy1zjdmbfdnklddwxi-source/pkgs/stdenv/generic/make-derivation.nix:205:7: 204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 205| name = | ^ 206| let
from neuron.
sk91 commented on June 3, 2024 That seems to work @srid thanks! )
from neuron.
Related Issues (20)
- how does neuron compare to org-roam, org-brain and zetteldeft?
- Unicode-normalised filenames not matched by non-normalised links HOT 1
- Feature Request: File inlining (in Markdown) HOT 3
- Feature request: first class support for regular markdown links HOT 7
- Feature Request: Support for ruby text (furigana) with markdown syntax HOT 4
- Nix alternative (again)
- Feed's <icon> URL is broken
- Document WSL limitations
- Static builds are broken HOT 17
- Collapseable Section
- Is there a way to create non-hierarchical links? HOT 1
- Zettel ID influences clustering behaviour HOT 3
- Small mistake in tutorial: gen should be rib HOT 1
- Unicode file-named notes are being ignored HOT 10
- index.md not generating links
- Default link-title for a zettel
- Cannot create the first zettel HOT 1
- new version (v 1.9.35.0) giving error output
- Missing dependency: reflex-dom-pandoc >= 0.7.9.0
Recommend Projects
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
TensorFlow
An Open Source Machine Learning Framework for Everyone
Django
The Web framework for perfectionists with deadlines.
Laravel
A PHP framework for web artisans
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
web
Some thing interesting about web. New door for the world.
server
A server is a program made to process requests and deliver data to clients.
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Visualization
Some thing interesting about visualization, use data art
Game
Some thing interesting about game, make everyone happy.
Recommend Org
We are working to build community through open source technology. NB: members must have two-factor auth.
Microsoft
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba
Alibaba Open Source for everyone
D3
Data-Driven Documents codes.
Tencent
China tencent open source team.
from neuron.