stashapp & stashapi

This commit is contained in:
Danilo Reyes
2025-10-04 17:26:10 -06:00
parent 9ab256ded7
commit 6aea101721
3 changed files with 97 additions and 1 deletions

View File

@@ -42,7 +42,13 @@
packages.x86_64-linux =
let
scriptBin = path: name: pkgs.writeScriptBin name (builtins.readFile path);
pkgsBin = path: _name: pkgs.callPackage path { };
pkgsBin = path: _name:
let
content = builtins.readFile path;
in
if builtins.match ".*buildPythonPackage.*" content != null
then pkgs.python3Packages.callPackage path { }
else pkgs.callPackage path { };
in
{
citra = pkgs.callPackage ./pkgs/citra/default.nix { branch = "nightly"; };