nixos-config/modules/backports.nix

22 lines
635 B
Nix
Raw Normal View History

2021-03-09 02:40:22 +00:00
{ lib, ... }:
let
rev = "00783f3f041491fc8b290da3494187b7f47100c0";
2020-12-24 07:11:49 +00:00
2021-03-09 02:40:22 +00:00
backport = (name: path: sha256: self: super: {
${name} = super.callPackage
2020-12-29 03:24:50 +00:00
(super.fetchurl {
2021-03-09 02:40:22 +00:00
inherit sha256;
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/${rev}/pkgs/${path}";
2020-12-29 03:24:50 +00:00
})
{ };
2021-03-09 02:40:22 +00:00
});
2020-12-24 07:11:49 +00:00
2021-03-09 02:40:22 +00:00
in
{
nixpkgs.overlays =
[
(backport "powerline-go" "tools/misc/powerline-go/default.nix" "3f5bceb483167dfea7bfb88bd3226c375be9564a8b321096bf1456c905acb90b")
(backport "brave" "applications/networking/browsers/brave/default.nix" "6e45fde1963df084bc86c36e735b5d806c528cf684da56107944b0dda462617f")
];
}