diff --git a/nix/shell-plugins.nix b/nix/shell-plugins.nix index 907bf2f5..0ed53ad1 100644 --- a/nix/shell-plugins.nix +++ b/nix/shell-plugins.nix @@ -8,7 +8,7 @@ let pkgs.runCommand "op-plugin-list" { } # 1Password CLI tries to create the config directory automatically, so set a temp XDG_CONFIG_HOME # since we don't actually need it for this - "mkdir $out && XDG_CONFIG_HOME=$out ${pkgs._1password}/bin/op plugin list | cut -d ' ' -f1 | tail -n +2 > $out/plugins.txt" + "mkdir $out && XDG_CONFIG_HOME=$out ${pkgs._1password-cli}/bin/op plugin list | cut -d ' ' -f1 | tail -n +2 > $out/plugins.txt" }/plugins.txt"); getExeName = package: # NOTE: SAFETY: This is okay because the `packages` list is also referred @@ -62,7 +62,7 @@ in { name = package; value = "op plugin run -- ${package}"; }) pkg-exe-names); - packages = [ pkgs._1password ] ++ cfg.plugins; + packages = [ pkgs._1password-cli ] ++ cfg.plugins; in mkIf cfg.enable (mkMerge [ ({ programs = {