nix-config/pkgs/default.nix

56 lines
1.9 KiB
Nix
Raw Normal View History

2023-09-18 14:36:41 +02:00
[
(import ./scripts)
2024-08-19 15:45:08 +02:00
(_final: prev: {
zsh-histdb-skim = prev.callPackage ./zsh-histdb-skim.nix { };
zsh-histdb = prev.callPackage ./zsh-histdb.nix { };
actual = prev.callPackage ./actual.nix { };
pr-tracker = prev.callPackage ./pr-tracker.nix { };
homebox = prev.callPackage ./homebox.nix { };
deploy = prev.callPackage ./deploy.nix { };
minion = prev.callPackage ./minion.nix { };
mongodb-bin = prev.callPackage ./mongodb-bin.nix { };
awakened-poe-trade = prev.callPackage ./awakened-poe-trade.nix { };
neovim-clean = prev.neovim-unwrapped.overrideAttrs (
2024-07-26 22:12:48 +02:00
_neovimFinal: neovimPrev: {
2024-08-19 15:45:08 +02:00
nativeBuildInputs = (neovimPrev.nativeBuildInputs or [ ]) ++ [ prev.makeWrapper ];
2024-07-26 22:12:48 +02:00
postInstall =
(neovimPrev.postInstall or "")
+ ''
wrapProgram $out/bin/nvim --add-flags "--clean"
'';
}
);
2024-08-19 15:45:08 +02:00
path-of-building = prev.path-of-building.overrideAttrs (old: {
postFixup =
(old.postFixup or "")
+ ''
wrapProgram $out/bin/pobfrontend \
--set QT_QPA_PLATFORM xcb
'';
});
2024-08-19 15:45:08 +02:00
kanidm = prev.kanidm.overrideAttrs (
2024-07-26 22:12:48 +02:00
old:
let
2024-08-19 15:45:08 +02:00
provisionSrc = prev.fetchFromGitHub {
2024-07-26 22:12:48 +02:00
owner = "oddlama";
repo = "kanidm-provision";
rev = "v1.1.0";
hash = "sha256-pFOFFKh3la/sZGXj+pAM8x4SMeffvvbOvTjPeHS1XPU=";
};
in
{
patches = old.patches ++ [
2024-06-09 20:59:23 +02:00
"${provisionSrc}/patches/1.2.0-oauth2-basic-secret-modify.patch"
"${provisionSrc}/patches/1.2.0-recover-account.patch"
];
2024-07-26 22:12:48 +02:00
passthru.enableSecretProvisioning = true;
doCheck = false;
}
);
2024-08-19 15:45:08 +02:00
kanidm-provision = prev.callPackage ./kanidm-provision.nix { };
pythonPackagesExtension = prev.pythonPackagesExtension ++ [
(_pythonFinal: pythonPrev: { usb-monitor = pythonPrev.callPackage ./usb-monitor.nix { }; })
];
2023-09-18 14:36:41 +02:00
})
]