fix(flake): remove overlay
this was removed because of a recent learning that you should **not** define overlays in your flake
This commit is contained in:
parent
53d57a2d3a
commit
75edb3a4e1
1 changed files with 2 additions and 9 deletions
11
flake.nix
11
flake.nix
|
@ -17,25 +17,18 @@
|
|||
"x86_64-linux"
|
||||
];
|
||||
|
||||
flake = {
|
||||
overlays.default = final: _prev: {
|
||||
pankomacs = final.callPackage ./package { pkgs = final; };
|
||||
};
|
||||
};
|
||||
|
||||
perSystem = { pkgs, self', config, system, ... }: {
|
||||
_module.args.pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
(import inputs.emacs)
|
||||
inputs.self.overlays.default
|
||||
];
|
||||
};
|
||||
packages.pankomacs = pkgs.pankomacs;
|
||||
packages.pankomacs = pkgs.callPackage ./nix/package.nix;
|
||||
packages.default = self'.packages.pankomacs;
|
||||
|
||||
apps.pankomacs.program = "${self'.packages.pankomacs}/bin/emacs";
|
||||
apps.default = config.apps.pankomacs;
|
||||
apps.default = self'.apps.pankomacs;
|
||||
|
||||
formatter = pkgs.nixpkgs-fmt;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue