diff options
author | azahi <azat@bahawi.net> | 2025-01-14 13:27:50 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2025-01-14 13:27:50 +0300 |
commit | b8ea365ca8eb801f8c8442f2f9ab439343ed8b8f (patch) | |
tree | fe46f6e8f0da8d8525e486290cca3079679b363d /overlays.nix | |
parent | 2025-01-06 (diff) |
2025-01-14
Diffstat (limited to 'overlays.nix')
-rw-r--r-- | overlays.nix | 90 |
1 files changed, 39 insertions, 51 deletions
diff --git a/overlays.nix b/overlays.nix index 020c6b2..893fea4 100644 --- a/overlays.nix +++ b/overlays.nix @@ -8,7 +8,7 @@ lib.infuse prev { bruh = _: prev.callPackage ./packages/bruh.nix { }; - emacsql-sqlite = _: prev.callPackage ./packages/emacsql-sqlite.nix { }; + emacsql-sqlite.__assign = prev.callPackage ./packages/emacsql-sqlite.nix { }; git-extras.__output.postPatch.__append = '' substituteInPlace bin/git-setup \ @@ -16,7 +16,6 @@ ''; grc.__output = { - version.__assign = "unstable-2021-08-12"; src.__assign = final.fetchFromGitHub { owner = "garabik"; repo = "grc"; @@ -31,68 +30,57 @@ ]; }; - hiccup = _: prev.callPackage ./packages/hiccup.nix { }; + hiccup.__assign = prev.callPackage ./packages/hiccup.nix { }; - lampray = _: prev.callPackage ./packages/lampray.nix { }; + lampray.__assign = prev.callPackage ./packages/lampray.nix { }; # TODO Can this be infused? - logcli = - _: - prev.grafana-loki.overrideAttrs ( - _: super: { - pname = "logcli"; - subPackages = [ "cmd/logcli" ]; - nativeBuildInputs = (super.nativeBuildInputs or [ ]) ++ [ final.installShellFiles ]; - postInstall = - (super.postInstall or "") - + '' - installShellCompletion --cmd logcli \ - --bash <($out/bin/logcli --completion-script-bash) \ - --zsh <($out/bin/logcli --completion-script-zsh) - ''; - preFixup = null; - } - ); + logcli.__assign = prev.grafana-loki.overrideAttrs ( + _: super: { + pname = "logcli"; + subPackages = [ "cmd/logcli" ]; + nativeBuildInputs = (super.nativeBuildInputs or [ ]) ++ [ final.installShellFiles ]; + postInstall = + (super.postInstall or "") + + '' + installShellCompletion --cmd logcli \ + --bash <($out/bin/logcli --completion-script-bash) \ + --zsh <($out/bin/logcli --completion-script-zsh) + ''; + preFixup = null; + } + ); - myip = _: prev.callPackage ./packages/myip.nix { }; + myip.__assign = prev.callPackage ./packages/myip.nix { }; - nixfiles = _: prev.callPackage ./packages/nixfiles.nix { }; + nixfiles.__assign = prev.callPackage ./packages/nixfiles.nix { }; - nixfmt = _: prev.nixfmt-rfc-style; + nixfmt.__assign = prev.nixfmt-rfc-style; - openssl_1_0_0 = _: prev.callPackage ./packages/openssl_1_0_0.nix { }; + prismlauncher-unwrapped.__output.patches.__append = [ + ./packages/prismlauncher-no-login.patch + ]; - # telegram-desktop = { - # __input.stdenv = stdenv: final.useMoldLinker stdenv; - # __output.patches.__append = - # let - # patches = "https://raw.githubusercontent.com/msva/mva-overlay/4c89938831bcce03fae22081809e53a47bdee31b/net-im/telegram-desktop/files/patches/0/conditional"; - # in - # [ - # (prev.fetchpatch { - # url = "${patches}/tdesktop_patches_hide-sponsored-messages/0000-data_data_sponsored_messages.cpp.patch"; - # hash = "sha256-vVucKG0YNY41MVdqibhKfxL/2/nNPPtYw+otwat971U="; - # }) - # (prev.fetchpatch { - # url = "${patches}/tdesktop_patches_allow-disable-stories/option-to-disable-stories.patch"; - # hash = "sha256-ctL9wIn3cLtqgCcQFNnx7WQuBw+9IjDlMJUicmVt8no="; - # }) - # (prev.fetchpatch { - # url = "${patches}/tdesktop_patches_hide-banned/0000_hide-messages-from-blocked-users.patch"; - # hash = "sha256-61U3wQsUdLvB4ymHPjVecw9WvhW8W/V0Jf1cnvYUkHk="; - # }) - # ]; - # }; + openssl_1_0_0.__assign = prev.callPackage ./packages/openssl_1_0_0.nix { }; + + telegram-desktop = { + __input.stdenv = final.useMoldLinker; + # __output.patches.__append = [ + # ./packages/telegram-no-ads.patch + # ]; + }; vesktop = { __input = { - withSystemVencord = _: false; - withTTS = _: false; + withMiddleClickScroll.__assign = true; + withSystemVencord.__assign = true; + withTTS.__assign = false; }; __output = { nativeBuildInputs.__append = [ final.imagemagick ]; - patches.__append = [ ./packages/vesktop.patch ]; + patches.__append = [ ./packages/vesktop-no-anime.patch ]; postInstall.__append = '' + # Remove LGBT iconography. rm -rf $out/share/icons/hicolor/* for size in 1024 128 256 32 512 64; do convert -scale $size $src/build/icon.png $size.png @@ -102,7 +90,7 @@ }; }; - rtorrent = - _: (lib.packages.fromPR 368724 "sha256-99C1bOu6L5UMia0zqR3258HO+MS7Jq89KQE6oycFsvc=").rtorrent; + dendrite = + _: (lib.packages.fromPR 366129 "sha256-oI9Afm3azJyEz4SJJIwuzeyuH7IaiGNTSA442vFlfv4=").dendrite; }; } |