2021-01-11 00:11:40 +00:00
|
|
|
{ config ? {}, system ? builtins.currentSystem, ... }@args:
|
2020-11-27 20:56:20 +00:00
|
|
|
|
|
|
|
let
|
2021-01-10 23:53:41 +00:00
|
|
|
sources = import ../nix/sources.nix;
|
2021-01-11 00:11:40 +00:00
|
|
|
pkgs = import sources.nixpkgs args;
|
2021-03-02 20:37:36 +00:00
|
|
|
unstable = import sources.nixpkgs-unstable args;
|
2020-11-27 20:56:20 +00:00
|
|
|
|
2021-01-10 23:53:41 +00:00
|
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
2020-11-30 18:30:24 +00:00
|
|
|
|
2020-11-27 20:56:20 +00:00
|
|
|
newpkgs = {
|
2020-12-05 18:56:49 +00:00
|
|
|
alps = callPackage ./alps {};
|
2021-01-10 23:53:41 +00:00
|
|
|
|
2021-07-29 20:31:14 +00:00
|
|
|
docker = pkgs.docker.overrideAttrs (super: {
|
2021-01-27 05:24:12 +00:00
|
|
|
extraPath = super.extraPath + ":${pkgs.zfs}/bin";
|
|
|
|
});
|
|
|
|
|
|
|
|
linuxPackagesFor = kernel: (pkgs.linuxPackagesFor kernel).extend (_: ksuper: {
|
|
|
|
decklink = callPackage ./decklink { kernel = ksuper.kernel; };
|
|
|
|
});
|
|
|
|
|
|
|
|
blackmagicDesktopVideo = callPackage ./blackmagic-desktop-video { };
|
|
|
|
|
2021-03-10 20:27:57 +00:00
|
|
|
obs-studio = unstable.obs-studio.overrideAttrs (_: rec {
|
2021-01-27 05:24:12 +00:00
|
|
|
wrapLibraries = with (pkgs // newpkgs); [
|
|
|
|
xorg.libX11.out
|
|
|
|
libvlc
|
|
|
|
blackmagicDesktopVideo
|
|
|
|
libcxx
|
|
|
|
libcxxabi
|
|
|
|
];
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/obs \
|
|
|
|
--prefix "LD_LIBRARY_PATH" : "${pkgs.lib.makeLibraryPath wrapLibraries}"
|
|
|
|
'';
|
|
|
|
});
|
2021-03-02 20:37:36 +00:00
|
|
|
|
2021-03-25 13:59:59 +00:00
|
|
|
mattermost = callPackage ./mattermost {};
|
2021-03-02 20:37:36 +00:00
|
|
|
inherit (unstable) bottom;
|
2020-11-27 20:56:20 +00:00
|
|
|
};
|
|
|
|
|
2021-01-27 05:24:12 +00:00
|
|
|
in pkgs.extend(_: _: newpkgs)
|