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

makefile required to build without nix #426

Closed
pedramos opened this issue Oct 9, 2020 · 5 comments
Closed

makefile required to build without nix #426

pedramos opened this issue Oct 9, 2020 · 5 comments
Labels
discussion Forum like question asked; not exactly a feature or a bug. such-is-nix "Why Nix?", "Nix alternative", etc.

Comments

@pedramos
Copy link

pedramos commented Oct 9, 2020

Hi,

I think a makefile would greatly improve how this software can be distributed.

For example, I which to build this on freebsd (or at least try) and I would rather not depend on nix to do so.

I'm not an expert on such topic but I believe that if some distro want to include this they will also benefict from the makefile as well.

I could write one myself and send a PR but, to be honest, I don't know nix language so I don't understand what are the steps to build

BR

@srid srid added discussion Forum like question asked; not exactly a feature or a bug. such-is-nix "Why Nix?", "Nix alternative", etc. labels Oct 9, 2020
@srid
Copy link
Owner

srid commented Oct 9, 2020

@pedramos This is a Haskell project, and nobody uses plain makefile to build them. The three options to build Haskell projects are: plain cabal, stack and Nix.

I believe that if some distro want to include this they will also benefict from the makefile as well.

Distros don't have to use Nix. They can build neuron in a manner similar to they build other Haskell packages. Pandoc for example is written in Haskell, and is available in all popular Linux distros. How do they build Pandoc?

@srid
Copy link
Owner

srid commented Oct 9, 2020

They can build neuron in a manner similar to they build other Haskell packages.

This might require #392

@srid
Copy link
Owner

srid commented Oct 9, 2020

Not gonna step outside of Nix. Static binaries are an exception.

@srid srid closed this as completed Oct 9, 2020
@pedramos
Copy link
Author

Pandoc at least has an INSTALL.md where it is documented how to install from source.

@srid
Copy link
Owner

srid commented Oct 14, 2020

Added instructions to install from source (via nix) in d12a9b8.

Sans nix, you can use cabal to build it much like how distros build Haskell software (such as the popular Pandoc); but that might require first addressing #432.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Forum like question asked; not exactly a feature or a bug. such-is-nix "Why Nix?", "Nix alternative", etc.
Projects
None yet
Development

No branches or pull requests

2 participants