Compare commits
2 Commits
81296b3234
...
9086ce9759
Author | SHA1 | Date | |
---|---|---|---|
9086ce9759 | |||
fe008d81cf |
@ -5,6 +5,7 @@
|
|||||||
nix.url = "github:nixos/nix";
|
nix.url = "github:nixos/nix";
|
||||||
deploy-rs.url = "github:serokell/deploy-rs";
|
deploy-rs.url = "github:serokell/deploy-rs";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
nixpkgs-master.url = "github:nixos/nixpkgs";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
bob = {
|
bob = {
|
||||||
flake = false;
|
flake = false;
|
||||||
|
@ -9,6 +9,9 @@
|
|||||||
wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11
|
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;
|
wezterm = inputs.wezterm.packages.${final.system}.default;
|
||||||
opensnitch-ui = prev.opensnitch-ui.overrideAttrs (oldAttrs: {
|
opensnitch-ui = prev.opensnitch-ui.overrideAttrs (oldAttrs: {
|
||||||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ prev.python311Packages.qt-material ];
|
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ prev.python311Packages.qt-material ];
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
{ rustPlatform, fetchFromGitHub }:
|
{ installShellFiles, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bob";
|
pname = "bob";
|
||||||
version = "3.0.1";
|
version = "3.0.1";
|
||||||
|
|
||||||
|
|
||||||
|
buildInputs = [ installShellFiles ];
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MordechaiHadad";
|
owner = "MordechaiHadad";
|
||||||
repo = "bob";
|
repo = "bob";
|
||||||
@ -11,4 +13,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
hash = "sha256-Op/NXWssylgAOb1BccSOz7JqXFranzAsGICFMF3o/K8=";
|
hash = "sha256-Op/NXWssylgAOb1BccSOz7JqXFranzAsGICFMF3o/K8=";
|
||||||
};
|
};
|
||||||
cargoLock.lockFile = "${src}/Cargo.lock";
|
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