Skip to content

illegal path references in fixed-output derivation  #8

@Strosel

Description

@Strosel

When trying to set up a minecraft server for the new year I wanted to give flux a try as it looks very promising. However, I quickly faced the error: illegal path references in fixed-output derivation which has proven to be a huge headache.

As far as I understand, the server derivation has to be "fixed-output" as mcman fetches packages in the build phase. So the issue that persists is what references other Nix paths and why. Since the error itself is poorly explained and documented I tried fixing this for quite some time and although I could not fix it I could find which files contain these references. Namely,

  • start.sh
  • run.sh
  • forge-1.20.1-47.3.22-installer.jar.log
  • libraries/net/minecraftforge/forge/1.20.1-47.3.22/unix_args.txt
  • libraries/net/minecraftforge/forge/1.20.1-47.3.22/win_args.txt
    and potentially others if you use another mod loader.

This seems like unintended behaviour since the readme mentions nothing of it. If this is a previously known issue maybe mod support should be specifically listed in the TODO section?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions