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

[Bug]: Cannot install using nix flakes #512

Open
3 tasks done
LordRusk opened this issue Sep 17, 2024 · 1 comment · May be fixed by #844
Open
3 tasks done

[Bug]: Cannot install using nix flakes #512

LordRusk opened this issue Sep 17, 2024 · 1 comment · May be fixed by #844
Labels
System: Linux For Linux/BSD distributions Type: Enhancement New feature or request Type: Installation Installing, building, and/or launching the program Type: QoL A quality of life (QoL) enhancement or suggestion
Milestone

Comments

@LordRusk
Copy link

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

073d517

Operating System & Version

NixOs 24.11.20240605.e8057b6 (Vincuna) x86_64

Description

After immediately pulling the newest commit, I used nix flake check to check whether it is installable...
image

trying to build gives this error

image


I am about to go to work, but i thought i'd create issue...

Expected Behavior

The validity check nix flake check goes through without error, and nix build builds the application...

Steps to Reproduce

  1. git clone https://https://github.com/TagStudioDev
  2. cd TagStudioDev
  3. nix flake check
  4. nix build

Logs

[~/src/TagStudio] $ nix flake check 
error: 
       … while checking flake output 'packages' 
 
         at «none»:0: (source not available) 
 
       … while checking the derivation 'packages.x86_64-linux.container-processes' 
 
         at «none»:0: (source not available) 
 
       (stack trace truncated; use '--show-trace' to show the full trace) 
 
       error: To use 'containers', Add the following to flake.nix: 
 
       inputs.mk-shell-bin.url = "github:rrbutani/nix-mk-shell-bin"; 
[~/src/TagStudio] $ nix build 
error: flake 'git+file:///home/shiva/src/TagStudio' does not provide attribute 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux' 
@LordRusk LordRusk added the Type: Bug Something isn't working as intended label Sep 17, 2024
@seakrueger
Copy link
Collaborator

The nix flake is only currently for providing a development shell. It currently does not build and package the application. To run using the flake, nix develop [--impure] >tagstudio

@CyanVoxel CyanVoxel added Type: Installation Installing, building, and/or launching the program System: Linux For Linux/BSD distributions labels Sep 18, 2024
@CyanVoxel CyanVoxel added Type: Enhancement New feature or request Type: QoL A quality of life (QoL) enhancement or suggestion and removed Type: Bug Something isn't working as intended labels Mar 9, 2025
@CyanVoxel CyanVoxel added this to the Alpha v9.5.2 milestone Mar 9, 2025
@CyanVoxel CyanVoxel linked a pull request Mar 9, 2025 that will close this issue
8 tasks
xarvex added a commit that referenced this issue Mar 10, 2025
Fixes: #200
Fixes: #365
Fixes: #512
Fixes: #800

fix(pyproject): resolve mix-up of mypy and pytest

chore(ci): remove legacy scripts

chore: format with new mypy rules; fix translation test

wip(ci/mypy): remove config flag

fix(pyinstaller): use correct dict access

fix(resources): usage in ts_qt.py

feat(nix/package): validate tests with pytest hook

fix(nix/package): remove old dependency patch

feat(nix): support Darwin

fix(nix/package): move check deps to checkInputs

fix(nix/shell): typo

fix(nix/shell): correctly wrap Python with Qt args

fix(pyproject): specify mypy-extensions

feat(nix/package): provide pillow-jxl-plugin

nix(nix/package): split into multiple files, allow overriding of JXL and vtf2img

fix(nix/shell): provide FFmpeg on runtime

feat(flake): output pillow-jxl-plugin and vtf2img

fix(nix/package): load pipewire

feat(nix/package): run tests on pillow-jxl-plugin

fix: remove extra noqa comment

docs: update installation docs

docs: shrink table size on docs site

nit(nix/package): pipewire not needed in buildInputs

docs: update commands, environment, setup

fix: use consistent possessives

chore: format with prettier, add ignore flags

fix(pyinstaller): consume from pyproject

Revert "fix(pyinstaller): consume from pyproject"

This reverts commit 398cd4e.

refactor: use icon from resource manager

Also fixes incorrect path currently used in ts_qt.py.

nix(pyinstaller): replace use of sys.platform with platform.system

docs: add build section

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
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: Enhancement New feature or request Type: Installation Installing, building, and/or launching the program Type: QoL A quality of life (QoL) enhancement or suggestion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants