all repos — nixfiles @ 2c587d66f791256a69c65e2701a35ef4a5762181

System and user configuration, managed by nix and home-manager

remove unused overlays

Alan Pearce
commit

2c587d66f791256a69c65e2701a35ef4a5762181

parent

df26ed7781df3523299332449053e5680254eab3

5 files changed, 0 insertions(+), 84 deletions(-)

changed files
D overlays/cgit-pink/default.nix
@@ -1,5 +0,0 @@
-self: super: { - cgit-pink = super.cgit-pink.overrideAttrs (old: { - patches = [ ./set-default-branch-main.patch ]; - }); -}
D overlays/cgit-pink/set-default-branch-main.patch
@@ -1,26 +0,0 @@
-diff --git a/cgit.c b/cgit.c -index dd28a79..451f518 100644 ---- a/cgit.c -+++ b/cgit.c -@@ -489,7 +489,7 @@ static char *guess_defbranch(void) - - ref = resolve_ref_unsafe("HEAD", 0, &oid, NULL); - if (!ref || !skip_prefix(ref, "refs/heads/", &refname)) -- return "master"; -+ return "main"; - return xstrdup(refname); - } - -diff --git a/ui-repolist.c b/ui-repolist.c -index 97b11c5..cde9cd0 100644 ---- a/ui-repolist.c -+++ b/ui-repolist.c -@@ -53,7 +53,7 @@ static int get_repo_modtime(const struct cgit_repo *repo, time_t *mtime) - - strbuf_reset(&path); - strbuf_addf(&path, "%s/refs/heads/%s", repo->path, -- repo->defbranch ? repo->defbranch : "master"); -+ repo->defbranch ? repo->defbranch : "main"); - if (stat(path.buf, &s) == 0) { - *mtime = s.st_mtime; - r->mtime = *mtime;
D overlays/extra-packages.nix
@@ -1,16 +0,0 @@
-self: super: { - vimPlugins = super.vimPlugins.extend (final: prev: { - coc-tabnine = - let - inherit (super) tabnine; - in - prev.coc-tabnine.overrideAttrs { - buildInputs = [ tabnine ]; - - postFixup = '' - mkdir -p $target/binaries/${tabnine.version} - ln -s ${tabnine}/bin/ $target/binaries/${tabnine.version}/${tabnine.passthru.platform} - ''; - }; - }); -}
D overlays/node-packages/default.nix
@@ -1,5 +0,0 @@
-self: super: { - prettierd = super.prettierd.overrideAttrs (old: { - patches = [ ./prettierd.patch ]; - }); -}
D overlays/node-packages/prettierd.patch
@@ -1,32 +0,0 @@
-diff --git a/src/service.ts b/src/service.ts -index 93164e5..eafc38f 100644 ---- a/src/service.ts -+++ b/src/service.ts -@@ -153,8 +153,26 @@ function parseCLIArguments(args: string[]): [CLIArguments, string, CliOptions] { - parsedArguments.ignorePath = nextArg.value; - break; - } -+ case "--stdin-filepath": { -+ const nextArg = argsIterator.next(); -+ if (nextArg.done) { -+ throw new Error("--stdin-filepath option expects a file path"); -+ } -+ -+ fileName = nextArg.value; -+ break; -+ } - default: { -- optionArgs.push(arg); -+ if (arg.includes("=")) { -+ optionArgs.push(arg); -+ } else { -+ const nextArg = argsIterator.next(); -+ if (nextArg.done) { -+ throw new Error(`--${arg} expects a value`); -+ } -+ -+ optionArgs.push(`${arg}=${nextArg.value}`); -+ } - } - } - } else {