Compare commits

..

No commits in common. "9086ce97596d3a2642a980c0efc4460f77766d83" and "81296b3234ba95a757b4f1db6254cd57120205bf" have entirely different histories.

3 changed files with 1 additions and 15 deletions

View File

@ -5,7 +5,6 @@
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;

View File

@ -9,9 +9,6 @@
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 ];

View File

@ -1,11 +1,9 @@
{ installShellFiles, rustPlatform, fetchFromGitHub }:
{ rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "bob";
version = "3.0.1";
buildInputs = [ installShellFiles ];
src = fetchFromGitHub {
owner = "MordechaiHadad";
repo = "bob";
@ -13,12 +11,4 @@ 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)
'';
}