pankomacs/flake.nix

37 lines
750 B
Nix
Raw Normal View History

2024-07-17 04:09:08 +01:00
{
description = "Pankomacs";
2024-07-17 04:09:08 +01:00
inputs = {
2024-11-23 21:03:41 +00:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-07-17 04:09:08 +01:00
parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
emacs = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs:
inputs.parts.lib.mkFlake {
inherit inputs;
} {
2024-07-17 04:09:08 +01:00
systems = [
"x86_64-linux"
];
imports = [
./lib.nix
];
perSystem = {pkgs, ...}: {
formatter = pkgs.alejandra;
2025-02-25 20:34:43 +00:00
packages = {
pgtk = inputs.self.lib.mkEmacs {
inherit pkgs;
emacs = pkgs.emacs30-pgtk;
};
};
};
2024-07-17 04:09:08 +01:00
};
}