2023-05-23 06:59:57 -06:00
|
|
|
{ isUnstable, lib, xinlib, ... }:
|
2023-01-11 11:17:46 -07:00
|
|
|
let
|
2023-02-02 09:47:29 -07:00
|
|
|
openssh = import ./openssh.nix;
|
2023-05-23 06:59:57 -06:00
|
|
|
tailscale = xinlib.prIsOpen 231281 (import ./tailscale.nix);
|
|
|
|
jetbrains = xinlib.prIsOpen 232308 (import ./jetbrains.nix);
|
|
|
|
tidal-hifi = xinlib.prIsOpen 228552 (import ./tidal-hifi.nix { inherit lib; });
|
2023-01-11 11:17:46 -07:00
|
|
|
in {
|
2023-01-12 06:25:38 -07:00
|
|
|
nixpkgs.overlays = if isUnstable then [
|
2023-05-13 06:11:00 -06:00
|
|
|
(_: super: {
|
|
|
|
elmPackages = super.elmPackages // {
|
2023-05-16 07:03:52 -06:00
|
|
|
elm = super.elmPackages.elm.overrideAttrs (oldAttrs: {
|
|
|
|
patches = (oldAttrs.patches or [ ]) ++ [ ./elm-no-color.diff ];
|
|
|
|
});
|
2023-05-13 06:11:00 -06:00
|
|
|
};
|
|
|
|
})
|
2023-05-23 06:59:57 -06:00
|
|
|
jetbrains
|
|
|
|
tidal-hifi
|
2023-02-02 09:47:29 -07:00
|
|
|
openssh
|
2023-01-26 13:39:19 -07:00
|
|
|
tailscale
|
2023-02-02 09:47:29 -07:00
|
|
|
] else [
|
2023-04-25 08:43:02 -06:00
|
|
|
(import ./matrix-synapse.nix)
|
2023-02-02 09:47:29 -07:00
|
|
|
openssh
|
2023-02-10 12:36:27 -07:00
|
|
|
tailscale
|
2023-02-02 09:47:29 -07:00
|
|
|
];
|
2022-08-25 12:21:35 -06:00
|
|
|
}
|
2022-10-01 07:18:49 -06:00
|
|
|
|
|
|
|
# Example Python dep overlay
|
|
|
|
# (self: super: {
|
|
|
|
# python3 = super.python3.override {
|
|
|
|
# packageOverrides = python-self: python-super: {
|
|
|
|
# canonicaljson = python-super.canonicaljson.overrideAttrs (oldAttrs: {
|
|
|
|
# nativeBuildInputs = [ python-super.setuptools ];
|
|
|
|
# });
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# })
|
|
|
|
|
2022-11-02 20:19:15 -06:00
|
|
|
# Example of an overlay that changes the buildGoModule function
|
|
|
|
#tailscale = self: super: {
|
|
|
|
# tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
|
|
|
|
# buildGoModule = args:
|
|
|
|
# super.buildGo119Module (args // rec {
|
|
|
|
# version = "1.32.2";
|
|
|
|
# src = super.fetchFromGitHub {
|
|
|
|
# owner = "tailscale";
|
|
|
|
# repo = "tailscale";
|
|
|
|
# rev = "v${version}";
|
|
|
|
# sha256 = "sha256-CYNHD6TS9KTRftzSn9vAH4QlinqNgU/yZuUYxSvsl/M=";
|
|
|
|
# };
|
|
|
|
# vendorSha256 = "sha256-VW6FvbgLcokVGunTCHUXKuH5+O6T55hGIP2g5kFfBsE=";
|
|
|
|
# });
|
|
|
|
# };
|
|
|
|
#};
|