NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.49k stars 12.99k forks source link

Tide configure not present in $PATH #284624

Open samos667 opened 5 months ago

samos667 commented 5 months ago

Describe the bug

I'm looking to use tide fish plugin. But impossible to run "tide configure" command.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add fish + tide plugin to home-manager file /etc/nixos/home.nix

    programs.fish = {
    enable = true;
    plugins = [
      { name = "tide"; src = pkgs.fishPlugins.tide; }
    ];
    };
  2. Set fish as default shell in /etc/nixos/configuration.nix

    users.users.sam = {
    shell = pkgs.fish;
    };
    
    programs.fish.enable = true;
  3. sudo nixos-rebuild switch

  4. logout + relogin

  5. image

Expected behavior

The command should be present to configure and use tide plugin.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

nixos + flakes + home-manager

Notify maintainers

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.74, NixOS, 24.05 (Uakari), 24.05.20240125.ae5c332`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"home-manager, nixos-23.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

Shawn8901 commented 5 months ago

cc @jocelynthode as package maintainer you might be able to give a useful hint here.

samos667 commented 5 months ago

I've tried to manually install tide 6.1.1 from github like this:

      {
        name = "tide";
        src = pkgs.fetchFromGitHub {
          owner = "IlanCosman";
          repo = "tide";
          rev = "a34b0c2809f665e854d6813dd4b052c1b32a32b4";
          sha256 = "sha256-ZyEk/WoxdX5Fr2kXRERQS1U1QHH3oVSyBQvlwYnEYyc=";
        };
      }

And I was able to run "tide configure" and make tide usable. image