2021-05-01 13:15:32 +02:00
|
|
|
final: prev:
|
2021-02-07 21:00:09 +01:00
|
|
|
let
|
2021-05-01 13:15:32 +02:00
|
|
|
inherit (prev) callPackage;
|
2021-02-07 21:00:09 +01:00
|
|
|
in
|
|
|
|
{
|
2021-03-20 21:10:09 +01:00
|
|
|
bwrap-helper = callPackage ./bwrap-helper { };
|
2021-01-07 17:28:08 +01:00
|
|
|
|
2022-11-03 16:40:05 +01:00
|
|
|
co2_exporter = callPackage ./co2_exporter { };
|
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
osu-lazer = callPackage ./osu-lazer { inherit (prev) osu-lazer; };
|
2021-03-20 21:10:09 +01:00
|
|
|
osu-lazer-sandbox = callPackage ./osu-lazer-sandbox { };
|
2021-01-31 19:47:54 +01:00
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
wordclock-dimmer = prev.python3Packages.callPackage ./wordclock-dimmer { };
|
2021-02-14 19:48:50 +01:00
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
sbruder = prev.recurseIntoAttrs {
|
2021-06-02 13:19:15 +02:00
|
|
|
contact = callPackage ./contact-page { };
|
2021-03-20 21:10:09 +01:00
|
|
|
imprint = callPackage ./imprint { };
|
2021-02-14 19:48:50 +01:00
|
|
|
};
|
2021-02-20 12:36:46 +01:00
|
|
|
|
2022-04-01 18:03:29 +02:00
|
|
|
libbluray = prev.libbluray.override {
|
|
|
|
withAACS = true;
|
|
|
|
withBDplus = true;
|
|
|
|
};
|
|
|
|
|
2022-08-10 20:37:23 +02:00
|
|
|
grml-zsh-config = prev.grml-zsh-config.overrideAttrs (o: o // {
|
|
|
|
postPatch = (o.postPatch or "") + ''
|
|
|
|
substituteInPlace etc/zsh/zshrc \
|
|
|
|
--replace 'isgrmlcd && HISTSIZE=500 || HISTSIZE=5000' "" \
|
|
|
|
--replace 'isgrmlcd && SAVEHIST=1000 || SAVEHIST=10000' ""
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-04-30 15:56:23 +02:00
|
|
|
# adapted from https://github.com/NixOS/nixpkgs/pull/85790
|
|
|
|
# TODO: Remove when memtest86+ ≥ 5.31b is in nixpkgs
|
2021-05-01 13:15:32 +02:00
|
|
|
memtest86plus = prev.memtest86plus.overrideAttrs (o: o // rec {
|
2021-04-30 15:56:23 +02:00
|
|
|
version = "5.31b";
|
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
src = prev.fetchurl {
|
2021-04-30 15:56:23 +02:00
|
|
|
url = "https://www.memtest.org/download/${version}/memtest86+-${version}.tar.gz";
|
|
|
|
sha256 = "028zrch87ggajlb5xx1c2ab85ggl9qldpibf45735sy0haqzyiki";
|
|
|
|
};
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = null;
|
|
|
|
|
|
|
|
buildFlags = [ ];
|
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
doCheck = prev.stdenv.isi686;
|
2021-04-30 15:56:23 +02:00
|
|
|
checkTarget = "run_self_test";
|
|
|
|
});
|
2021-06-01 10:16:15 +02:00
|
|
|
|
2021-08-05 13:07:25 +02:00
|
|
|
vimPlugins = prev.vimPlugins // {
|
|
|
|
# TODO: Remove once (if?) https://github.com/LnL7/vim-nix/pull/28 lands
|
|
|
|
vim-nix = prev.vimPlugins.vim-nix.overrideAttrs (o: {
|
|
|
|
patches = o.patches or [ ] ++ (map prev.fetchpatch [
|
|
|
|
{
|
|
|
|
url = "https://github.com/LnL7/vim-nix/commit/d298418ba10e1460b3b22106633731c2a9c1c83b.patch";
|
|
|
|
sha256 = "sha256-JcSkHScZtEN7qLYKxQB3pasl98MBXVBilB1noLxJxb8=";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
url = "https://github.com/LnL7/vim-nix/commit/7b26edee3e2f63cce096aff65cfdaf995ebd92b0.patch";
|
|
|
|
sha256 = "sha256-sId/HOUfYf5U9S3HgSmOsldRiEbXc5mVFol7M7CMdi8=";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
url = "https://github.com/LnL7/vim-nix/commit/7cad7f3666a63ff00f7ecd73a98886031901b918.patch";
|
|
|
|
sha256 = "sha256-rSRPkCo1wLvyufQkOo3gOwHetxvLdI6L89r7UgApz54=";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
url = "https://github.com/LnL7/vim-nix/commit/6affa2b211b02a907ab3bc7064821be57ae93446.patch";
|
|
|
|
sha256 = "sha256-/fFx2/v2bGLAf5xQD+Y5p79NyRQu2dRFNoc9sYXoglM=";
|
|
|
|
}
|
|
|
|
]);
|
|
|
|
});
|
|
|
|
};
|
2021-12-01 17:51:34 +01:00
|
|
|
}
|