TagStudioDev / TagStudio

A User-Focused Photo & File Management System
https://docs.tagstud.io/
GNU General Public License v3.0
5.3k stars 377 forks source link

[Bug]: Cannot install using nix flakes #512

Open LordRusk opened 2 months ago

LordRusk commented 2 months ago

Checklist

TagStudio Version

073d51734b0812beccf148a85d181539c97c9915

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' 
seakrueger commented 2 months ago

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