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?
This is about Semantic MediaWiki. I'd like to get it running on NixOS, but am struggling. Please help me out.
I did
That seemed to work, but apart from the expected
*.nix
files, it also producedextensions/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 thisextensions/SemanticMediaWiki
directory to build. If I remove it, the build fails (Composer detects thatextensions/SemanticMediaWiki
is missing, and attempts to rungit
to fetch it, which does not work).My plan was to check in the
*.nix
files generated bycomposer2nix
into Git, and use the result ofdefault.nix
as input to NixOS'services.mediawiki.extensions
but I am totally confused about the folder popping out ofcomposer2nix
. It should only manifest once I evaluatedefault.nix
, right?Any ideas?