vanadium/overlay: clean up

This commit is contained in:
Primrose 2025-12-30 12:15:23 +01:00
parent 23938ae63e
commit 625d02442d
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 0 additions and 62 deletions

View file

@ -9,26 +9,13 @@ let
infuse = lib.flip infuse-lib.v1.infuse;
in
# Why shouldn't I go crazy with overlays?
final:
infuse {
cmus.__input.alsaSupport = _: false;
fish.__input.usePython = _: false;
tmux.__input.withSixel = _: false;
# I don't really use helix, but it's nice to have the W alias just in case
helix.__output.patches.__append = [
./patches/helix/W-as-write.patch
];
# Too loud
alejandra.__output.patches.__append = [
./patches/alejandra/no-ads.patch
];
alejandra.__output.doCheck = _: false;
# TODO:
# pinned branch of https://github.com/astrand/xclip/tree/xerror
# use this until #43 gets resolved properly

View file

@ -1,49 +0,0 @@
diff --git a/src/alejandra_cli/src/cli.rs b/src/alejandra_cli/src/cli.rs
index 0ef0496..1791649 100644
--- a/src/alejandra_cli/src/cli.rs
+++ b/src/alejandra_cli/src/cli.rs
@@ -9,7 +9,7 @@ use futures::future::RemoteHandle;
use futures::stream::FuturesUnordered;
use futures::task::SpawnExt;
-use crate::ads::random_ad;
+// use crate::ads::random_ad;
use crate::verbosity::Verbosity;
/// The Uncompromising Nix Code Formatter.
@@ -222,10 +222,10 @@ pub fn main() -> ! {
}
);
- if in_place {
- eprintln!();
- eprint!("{}", random_ad());
- }
+ // if in_place {
+ // eprintln!();
+ // eprint!("{}", random_ad());
+ // }
}
std::process::exit(if in_place { 0 } else { 2 });
@@ -236,8 +236,8 @@ pub fn main() -> ! {
eprintln!(
"Congratulations! Your code complies with the Alejandra style."
);
- eprintln!();
- eprint!("{}", random_ad());
+ // eprintln!();
+ // eprint!("{}", random_ad());
}
std::process::exit(0);
diff --git a/src/alejandra_cli/src/lib.rs b/src/alejandra_cli/src/lib.rs
index fd49ce8..157b3eb 100644
--- a/src/alejandra_cli/src/lib.rs
+++ b/src/alejandra_cli/src/lib.rs
@@ -1,4 +1,4 @@
-mod ads;
+// mod ads;
pub mod cli;
mod find;
mod verbosity;