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
Open
3 tasks done

[Bug]: Cannot install using nix flakes #512

LordRusk opened this issue Sep 17, 2024 · 1 comment
Labels
System: Linux For Linux/BSD distributions Type: Bug Something isn't working as intended Type: Installation Installing, building, and/or launching the program

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
Contributor

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
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: Bug Something isn't working as intended Type: Installation Installing, building, and/or launching the program
Projects
None yet
Development

No branches or pull requests

3 participants