purify package overrides

This commit is contained in:
Katherina Walshe-Grey 2024-08-22 11:35:08 +01:00
parent 432bc05190
commit 2fcba2b35f

View file

@ -34,10 +34,16 @@
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs:
let sources = import ./npins;
in {
agenix = agenix.packages.${config.nixpkgs.hostPlatform.system}.default;
nur = (import sources.nur { inherit pkgs; });
let
sources = import ./npins;
inherit (config.nixpkgs.hostPlatform) system;
in
{
agenix = agenix.packages.${system}.default;
nur = (import sources.nur {
nurpkgs = pkgs;
inherit pkgs;
});
};
};