mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-05 04:51:15 +00:00
26 lines
548 B
Nix
26 lines
548 B
Nix
{inputs, ...}: {
|
|
systems = ["x86_64-linux"];
|
|
|
|
imports = [inputs.flake-parts.flakeModules.easyOverlay];
|
|
|
|
perSystem = {
|
|
config,
|
|
system,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
|
|
packages = let
|
|
pins = import ../npins;
|
|
|
|
inherit (pkgs) callPackage;
|
|
mkPackage = path: {__functor = self: self.override;} // (callPackage path {inherit pins;});
|
|
in
|
|
import ./top-level.nix {inherit pkgs callPackage mkPackage;};
|
|
};
|
|
}
|