Ax-Shell icon indicating copy to clipboard operation
Ax-Shell copied to clipboard

In the nix flake fork, attribute 'ax-send' missing

Open dave-eska opened this issue 11 months ago • 1 comments

flake.nix:

inputs = {

	ax-shell = {
		url = "github:poogas/Ax-Shell";
		inputs.nixpkgs.follows = "nixpkgs";
	};

home.nix:

imports = [
	inputs.ax-shell.homeManagerModules.default
];
home.packages = [
];

programs.ax-shell = {
	enable = true;
};

error:

   … while calling the 'derivationStrict' builtin
     at <nix/derivation-internal.nix>:37:12:
       36|
       37|   strict = derivationStrict drvAttrs;
         |            ^
       38|

   … while evaluating derivation 'home-manager-generation'
     whose name attribute is located at /nix/store/xzl5dhddgjxp2p18h5qpkhvlkp8128j1-source/pkgs/stdenv/generic/make-derivation.nix:541:13

   … while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'
     at /nix/store/xzl5dhddgjxp2p18h5qpkhvlkp8128j1-source/pkgs/build-support/trivial-builders/default.nix:80:17:
       79|         enableParallelBuilding = true;
       80|         inherit buildCommand name;
         |                 ^
       81|         passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);

   … while evaluating the option `home.activation.installPackages.data':

   … while evaluating definitions from `/nix/store/vawc0p4zhlpkvb73nagvbvfhfjnyqws7-source/modules/home-environment.nix':

   … while evaluating the option `home.packages':

   … while evaluating definitions from `/nix/store/qhcalv62wfyga4simxdfl3iyb3wcpmjb-source/home.nix':

   (stack trace truncated; use '--show-trace' to show the full, detailed trace)

   error: attribute 'ax-send' missing
   at /nix/store/8xvrkl0fh5nz4hscmn3v1jffd69j2kc6-source/nix/modules/home-manager.nix:474:7:
      473|       wrappedPackage
      474|       pkgs.ax-send
         |       ^
      475|       pkgs.wl-clipboard
edit:
adding it into home.packages got rid of the error, but that means i cant configure it in the nix way:

home.nix:

	home.packages = [
		#inputs.caelestia-shell.packages.${pkgs.system}.default
		#inputs.caelestia-cli.packages.${pkgs.system}.default
		inputs.ax-shell.packages.${pkgs.system}.default
	];

and it also gives me this error when i run "ax-shell":

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/nix/store/z73lsxv63xqxppwjz1aw625rky50agj3-ax-shell-unstable-5610a83/share/ax-shell/main.py", line 7, in <module>
    from fabric import Application
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/fabric/__init__.py", line 1, in <module>
    from fabric.core.service import Service, Signal, Property, Builder
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/fabric/core/__init__.py", line 1, in <module>
    from .service import Service, Signal, Property, Builder
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/fabric/core/service.py", line 25, in <module>
    from fabric.utils.helpers import (
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/fabric/utils/__init__.py", line 1, in <module>
    from .helpers import *
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/fabric/utils/helpers.py", line 181, in <module>
    class DesktopApp:
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/fabric/utils/helpers.py", line 201, in DesktopApp
    self, app: Gio.DesktopAppInfo, icon_theme: Gtk.IconTheme | None = None
               ^^^^^^^^^^^^^^^^^^
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/gi/overrides/__init__.py", line 37, in __getattr__
    return getattr(self._introspection_module, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/qizxg838xhy2v2kqkcha7fj8gj36k7bx-python3-3.12.12-env/lib/python3.12/site-packages/gi/module.py", line 127, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gio' object has no attribute 'DesktopAppInfo'

dave-eska avatar Dec 30 '25 08:12 dave-eska

Hi, I don't maintain that so you'll have better luck asking in the fork's repo. :)

Axenide avatar Dec 30 '25 10:12 Axenide