Skip to content

Nix installation #36

@walseb

Description

@walseb

Hello!

I'm trying to install this addon for Firefox with the buildFirefoxXpiAddon build command:

buildFirefoxXpiAddon {
        pname = "spookfox";
        version = "git";
        addonId = "spookfox@bitspook.in";
        url = "https://github.com/bitspook/spookfox/releases/download/v0.4.0/spookfox-ff.xpi";
        sha256 = "57a5917cc4a46f6fd3692e9b8432e8d0f60f31afc26cef89972762f5d30257d8";
        meta = with lib; {
          homepage = "https://github.com/bitspook/spookfox";
          description = "A tinkerer's bridge b/w Emacs and Web Browser (Firefox and Chrome)";
          license = licenses.mit;
          mozPermissions = [
            # https://github.com/bitspook/spookfox/blob/ee4f23f022db70e8ad3b057140c75a17a3df6dab/spookfox-addon/src/manifest.json#L44
            "<all_urls>" "tabs" "search" "scripting"
          ];
          platforms = platforms.all;
        };
      };

however, I get the following error:

building '/nix/store/5a7xwb1gxyphyvdbr3szvmhi2vs5fjw5-emacs-spookfox-unstable-2024-04-25.drv'...
error: builder for '/nix/store/5a7xwb1gxyphyvdbr3szvmhi2vs5fjw5-emacs-spookfox-unstable-2024-04-25.drv' failed with exit code 1;
       last 10 log lines:
       > calling 'postUnpack' function hook '_updateSourceDateEpochFromSourceRoot'
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > calling 'preConfigure' function hook '_multioutConfig'
       > no configure script, doing nothing
       > Running phase: buildPhase
       > Running phase: installPhase
       > install: missing destination file operand after '/nix/store/92zbiw4fqjx10sj2s7bscgsqxb95qrm6-emacs-spookfox-unstable-2024-04-25/share/emacs/site-lisp'
       > Try 'install --help' for more information.
       For full logs, run 'nix log /nix/store/5a7xwb1gxyphyvdbr3szvmhi2vs5fjw5-emacs-spookfox-unstable-2024-04-25.drv'.
error: 1 dependencies of derivation '/nix/store/38i66pb3yzpxqn7kfdr6s9p4h6nka5if-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/08yyvxvw5f6sirf8qkhfgpzkrkmavz0w-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fcg8hfwcpk32bpmgfj5y9mp8yl1i9dn7-unit-home-manager-admin.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dsfq85klqwnf4arwl4xhypk6100mbdv6-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/g9cn3n3l8y90wpscx971n45m1rpp6iq9-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4ysj17a51rz2g06a8yxzmzj06p9g7hdy-nixos-system-nixos-24.05.20240717.c716603.drv' failed to build

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions