Cleanup overlays

This commit is contained in:
Sandro - 2022-09-04 13:23:46 +02:00
parent 96284491ff
commit 4ed53e3b0a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 7 additions and 8 deletions

View File

@ -5,19 +5,19 @@ final: prev:
let
pkgs-unstable = nixos-unstable.legacyPackages.${prev.system};
in
{
bmxd = prev.callPackage ./bmxd.nix { };
with final; {
bmxd = callPackage ./bmxd.nix { };
dump1090-influxdb = import ./dump1090-influxdb { pkgs = prev; };
dump1090-influxdb = callPackage ./dump1090-influxdb { };
dump1090_rs = prev.callPackage ./dump1090_rs.nix { };
dump1090_rs = callPackage ./dump1090_rs.nix { };
chromium = prev.chromium.override {
commandLineArgs = "--enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --force-dark-mode";
};
# hydra flake
hydra = prev.hydra.overrideAttrs (oldAttrs: with final; {
hydra = prev.hydra.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ] ++ [
# gitea webhook support
(fetchpatch {
@ -33,7 +33,7 @@ in
});
# hydra in nixpkgs
hydra_unstable = prev.hydra_unstable.overrideAttrs (oldAttrs: with final; {
hydra_unstable = prev.hydra_unstable.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ] ++ [
# gitea webhook support
(fetchpatch {

View File

@ -1,6 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
{ stdenv, bundlerEnv }:
with pkgs;
let
gems = bundlerEnv {
name = "dump1090-influxdb-gems";