add some stuff
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# This file defines overlays
|
||||
{ inputs, ... }: {
|
||||
{ inputs, ... }:
|
||||
let
|
||||
addPatches = pkg: patches:
|
||||
pkg.overrideAttrs
|
||||
(oldAttrs: { patches = (oldAttrs.patches or [ ]) ++ patches; });
|
||||
in {
|
||||
# This one brings our custom packages from the 'pkgs' directory
|
||||
additions = final: _prev: import ./pkgs { pkgs = final; };
|
||||
|
||||
@@ -39,6 +44,7 @@
|
||||
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
||||
# ...
|
||||
# });
|
||||
mangal = addPatches prev.mangal [ ./pkgs/patches/mangal.diff ];
|
||||
};
|
||||
|
||||
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
||||
|
||||
Reference in New Issue
Block a user