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

Nix Overlay Install falure #1645

Open
1 task done
DerDennisOP opened this issue Feb 25, 2024 · 1 comment
Open
1 task done

Nix Overlay Install falure #1645

DerDennisOP opened this issue Feb 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DerDennisOP
Copy link

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.
@DerDennisOP DerDennisOP added the bug Something isn't working label Feb 25, 2024
@hustlerone
Copy link
Contributor

Share your flake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants