-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Omit nushellplugins that are causing issues
- Loading branch information
Showing
1 changed file
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
]); | ||
}; | ||
} |