You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
server/nix/overlays/default.nix

15 lines
312 B
Nix

{ lib, ... }@flakeArg:
let
inherit (lib) systemSpecificVars;
rawImport = path: import path flakeArg;
wrapOverlay =
overlay: final: prev:
overlay (systemSpecificVars prev.system) final prev;
importOverlay = path: wrapOverlay (rawImport path);
in
{
backports = importOverlay ./backports.nix;
}