Skip to content

fix(nix): package build errors - #1528

Merged
CyanVoxel merged 1 commit into
TagStudioDev:mainfrom
TechnoStrife:main
Oct 3, 2026
Merged

CyanVoxel merged 1 commit into
TagStudioDev:mainfrom
TechnoStrife:main

Conversation

@TechnoStrife

Copy link
Copy Markdown
Contributor

Summary

  • added pygments to nix package dependencies
  • downgraded pygments required version to 2.20 because 2.21 is not yet available in nixpkgs

Testing

Current version does not build:

$ nix build github:TagStudioDev/TagStudio#packages.x86_64-linux.tagstudio
error: Cannot build '/nix/store/hqmkkwsi1zfx903nl7kb4nx540ivakc8-TagStudio-9.6.4.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/8g117lr5jshwi0myibrc45ggkwqjr9bp-TagStudio-9.6.4
         /nix/store/n7yps9dm1gpccdaq54lxzixwb3qfg9pd-TagStudio-9.6.4-dist
       Last 25 log lines:
       > [...]
       > Checking runtime dependencies for tagstudio-9.6.4-py3-none-any.whl
       >   - pygments not installed
       For full logs, run:
         nix log /nix/store/hqmkkwsi1zfx903nl7kb4nx540ivakc8-TagStudio-9.6.4.drv

After the fix, build succeeds:

$ nix build github:TechnoStrife/TagStudio#packages.x86_64-linux.tagstudio && echo 'ok'
ok

Launching the app, it appears to work correctly.

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable
    • nix package builds

@CyanVoxel CyanVoxel added Type: Installation Installing, building, and/or launching the program System: Linux For Linux/BSD distributions Type: Fix A fix for a bug, typo, or other issue labels Oct 3, 2026
@CyanVoxel CyanVoxel added this to the Alpha v9.7.0 milestone Oct 3, 2026

@CyanVoxel CyanVoxel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@CyanVoxel
CyanVoxel merged commit 10e0b20 into TagStudioDev:main Oct 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

System: Linux For Linux/BSD distributions Type: Fix A fix for a bug, typo, or other issue Type: Installation Installing, building, and/or launching the program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants