PolyMC / PolyMC

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once (Fork of MultiMC)

Home Page:https://polymc.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nix Overlay Install falure

DerDennisOP opened this issue · comments

Operating System

Linux

Version of PolyMC

develop branch

Version of Qt

qt 6.6.1

Description of bug

polymc> [0/1] Install the project...
polymc> -- Install configuration: "Release"
polymc> -- Installing: /nix/store/g5msv24is9a960wpzp53xpkxpqknphsn-polymc-20240111/share/applications/org.polymc.PolyMC.desktop
polymc> -- Installing: /nix/store/g5msv24is9a960wpzp53xpkxpqknphsn-polymc-20240111/share/metainfo/org.polymc.PolyMC.metainfo.xml
polymc> -- Installing: /nix/store/g5msv24is9a960wpzp53xpkxpqknphsn-polymc-20240111/share/icons/hicolor/scalable/apps/org.polymc.PolyMC.svg
polymc> -- Installing: /nix/store/g5msv24is9a960wpzp53xpkxpqknphsn-polymc-20240111/share/jars/NewLaunch.jar
polymc> -- Installing: /nix/store/g5msv24is9a960wpzp53xpkxpqknphsn-polymc-20240111/share/jars/JavaCheck.jar
polymc> -- Installing: /nix/store/g5msv24is9a960wpzp53xpkxpqknphsn-polymc-20240111/bin/polymc
polymc> -- Set runtime path of "/nix/store/g5msv24is9a960wpzp53xpkxpqknphsn-polymc-20240111/bin/polymc" to "$ORIGIN/"
polymc> : In function 'main':
polymc> :34:6: error: #error makeCWrapper: Unknown argument --run
polymc> :35:6: error: #error makeCWrapper: Unknown argument [ -f /etc/NIXOS ] && export LD_LIBRARY_PATH="/nix/store/1s98ricsglmfjjqkfnpvywnip5z7gp9q-gcc-13.2.0-lib/lib:$LD_LIBRARY_PATH"
polymc> /nix/store/ydjgbvkw6f1jnf7719yjdssi4y0liqrk-make-binary-wrapper-hook/nix-support/setup-hook: line 131: pop_var_context: head of shell_variables not a function context

Steps to reproduce

Use nixos overlays in a flake.nix and add polymc to the programs

Suspected cause

No response

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.