2024-06-01 20:08:59 -05:00
|
|
|
{nixpkgs, ...}: {
|
2023-10-03 11:52:44 -05:00
|
|
|
# This one brings our custom packages from the 'pkgs' directory
|
2024-02-29 06:01:13 -06:00
|
|
|
additions = final: _prev:
|
2024-06-01 21:25:58 -05:00
|
|
|
import ../packages {
|
2024-06-28 09:51:25 -05:00
|
|
|
pkgs = import nixpkgs {inherit (final) system;};
|
2024-02-29 06:01:13 -06:00
|
|
|
};
|
2023-10-03 11:52:44 -05:00
|
|
|
|
2024-09-12 12:05:22 -05:00
|
|
|
/*
|
|
|
|
This one contains whatever you want to overlay
|
|
|
|
You can change versions, add patches, set compilation flags, anything really.
|
|
|
|
https://nixos.wiki/wiki/Overlays
|
|
|
|
*/
|
2024-05-02 09:52:49 -05:00
|
|
|
modifications = final: prev: {
|
2024-09-12 12:05:22 -05:00
|
|
|
/*
|
|
|
|
final.fprintd = prev.fprintd.overrideAttrs {
|
|
|
|
# Source: https://github.com/NixOS/nixpkgs/commit/87ca2dc071581aea0e691c730d6844f1beb07c9f
|
|
|
|
mesonCheckFlags = [
|
|
|
|
# PAM related checks are timing out
|
|
|
|
"--no-suite"
|
|
|
|
"fprintd:TestPamFprintd"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
*/
|
2023-10-03 11:52:44 -05:00
|
|
|
};
|
|
|
|
|
2024-09-12 12:05:22 -05:00
|
|
|
/*
|
|
|
|
When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
|
|
|
be accessible through 'pkgs.unstable'
|
|
|
|
*/
|
2023-10-03 11:52:44 -05:00
|
|
|
unstable-packages = final: _prev: {
|
2024-02-29 06:01:13 -06:00
|
|
|
unstable = import nixpkgs {
|
2023-10-03 11:52:44 -05:00
|
|
|
system = final.system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|