Compare commits
2 Commits
81296b3234
...
9086ce9759
Author | SHA1 | Date | |
---|---|---|---|
9086ce9759 | |||
fe008d81cf |
@ -5,6 +5,7 @@
|
||||
nix.url = "github:nixos/nix";
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-master.url = "github:nixos/nixpkgs";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
bob = {
|
||||
flake = false;
|
||||
|
@ -9,6 +9,9 @@
|
||||
wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11
|
||||
'';
|
||||
});
|
||||
# TODO: Remove this when Zathura's update for 0.5.8 hits nixpkgs-unstable,
|
||||
# see status of https://nixpk.gs/pr-tracker.html?pr=337383
|
||||
zathura = inputs.nixpkgs-master.legacyPackages.${final.system}.pkgs.zathura;
|
||||
wezterm = inputs.wezterm.packages.${final.system}.default;
|
||||
opensnitch-ui = prev.opensnitch-ui.overrideAttrs (oldAttrs: {
|
||||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ prev.python311Packages.qt-material ];
|
||||
|
@ -1,9 +1,11 @@
|
||||
{ rustPlatform, fetchFromGitHub }:
|
||||
{ installShellFiles, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bob";
|
||||
version = "3.0.1";
|
||||
|
||||
|
||||
buildInputs = [ installShellFiles ];
|
||||
src = fetchFromGitHub {
|
||||
owner = "MordechaiHadad";
|
||||
repo = "bob";
|
||||
@ -11,4 +13,12 @@ rustPlatform.buildRustPackage rec {
|
||||
hash = "sha256-Op/NXWssylgAOb1BccSOz7JqXFranzAsGICFMF3o/K8=";
|
||||
};
|
||||
cargoLock.lockFile = "${src}/Cargo.lock";
|
||||
|
||||
postInstall = # bash
|
||||
''
|
||||
installShellCompletion --cmd bob \
|
||||
--bash <($out/bin/bob complete bash) \
|
||||
--zsh <($out/bin/bob complete zsh) \
|
||||
--fish <($out/bin/bob complete fish)
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user