Skip to content

Commit

Permalink
Omit nushellplugins that are causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
NotM32 committed Feb 15, 2025
1 parent f5a85eb commit aa09eb9
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions home/shell/nu.nix
Original file line number Diff line number Diff line change
@@ -1,43 +1,44 @@
{ pkgs, lib, ... }:
let
# Needs to be updated
nu-plugin-dialog = with pkgs; rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_dialog";
version = "0.1.0";
nu-plugin-dialog = with pkgs;
rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_dialog";
version = "0.1.0";

src = fetchFromGitHub {
owner = "Trivernis";
repo = "nu-plugin-dialog";
rev = "v0.1.0";
hash = "sha256-hRS0HgLyEFKOtD04ex3N6k818705/KHbI4wpPJiBdKw=";
};
cargoHash = "sha256-353ftE4O7ZG6IrE7FOeHVZjdK0aDqR8hqm2wN3XK0ko=";
src = fetchFromGitHub {
owner = "Trivernis";
repo = "nu-plugin-dialog";
rev = "v0.1.0";
hash = "sha256-hRS0HgLyEFKOtD04ex3N6k818705/KHbI4wpPJiBdKw=";
};
cargoHash = "sha256-353ftE4O7ZG6IrE7FOeHVZjdK0aDqR8hqm2wN3XK0ko=";

nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
cargoBuildFlags = [ "--package nu_plugin_dialog" ];
nativeBuildInputs = [ pkg-config ]
++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
cargoBuildFlags = [ "--package nu_plugin_dialog" ];

passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script { };

meta = {
description = "A nushell plguin for user interaction.";
mainProgram = "nu_plugin_dialog";
homepage = "https://github.com/Trivernis/nu-plugin-dialog";
meta = {
description = "A nushell plguin for user interaction.";
mainProgram = "nu_plugin_dialog";
homepage = "https://github.com/Trivernis/nu-plugin-dialog";
};
};
};
in {
home.packages = [ pkgs.nufmt ];

programs.nushell = {
enable = true;

plugins = [ ] ++ (with pkgs.nushellPlugins ;[
dbus
plugins = (with pkgs.nushellPlugins; [
formats
gstat
polars
query
units

# dbus
# units
]);
};
}

0 comments on commit aa09eb9

Please sign in to comment.