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

Help building Semantic MediaWiki #14

Open
lorenzleutgeb opened this issue Dec 3, 2020 · 0 comments
Open

Help building Semantic MediaWiki #14

lorenzleutgeb opened this issue Dec 3, 2020 · 0 comments

Comments

@lorenzleutgeb
Copy link

This is about Semantic MediaWiki. I'd like to get it running on NixOS, but am struggling. Please help me out.

I did

composer2nix -p mediawiki/semantic-media-wiki --package-version 3.2.1 --no-dev

That seemed to work, but apart from the expected *.nix files, it also produced extensions/SemanticMediaWiki which seems to be a clone of SemanticMediaWiki/SemanticMediaWiki. However, it does not contain a .git directory, so I could not easily check which version I got (of course I assume that it corresponds to the tag for version 3.2.1).

The problem is, that default.nix somehow needs this extensions/SemanticMediaWiki directory to build. If I remove it, the build fails (Composer detects that extensions/SemanticMediaWiki is missing, and attempts to run git to fetch it, which does not work).

My plan was to check in the *.nix files generated by composer2nix into Git, and use the result of default.nix as input to NixOS' services.mediawiki.extensions but I am totally confused about the folder popping out of composer2nix. It should only manifest once I evaluate default.nix, right?

Any ideas?

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

1 participant