mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
emacsPackages: fix build for nongnu packages
This commit is contained in:
parent
656c68d654
commit
e48a0365d2
@ -1,8 +1,25 @@
|
|||||||
pkgs:
|
pkgs: lib:
|
||||||
|
|
||||||
self: super:
|
self: super:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (import ./lib-override-helper.nix pkgs lib)
|
||||||
|
addPackageRequires
|
||||||
|
;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
# missing optional dependencies
|
||||||
|
haskell-tng-mode = addPackageRequires super.haskell-tng-mode (
|
||||||
|
with self;
|
||||||
|
[
|
||||||
|
s
|
||||||
|
company
|
||||||
|
projectile
|
||||||
|
smartparens
|
||||||
|
yasnippet
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
p4-16-mode = super.p4-16-mode.overrideAttrs {
|
p4-16-mode = super.p4-16-mode.overrideAttrs {
|
||||||
# workaround https://github.com/NixOS/nixpkgs/issues/301795
|
# workaround https://github.com/NixOS/nixpkgs/issues/301795
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -19,6 +19,10 @@
|
|||||||
self:
|
self:
|
||||||
let
|
let
|
||||||
|
|
||||||
|
inherit (import ./lib-override-helper.nix pkgs lib)
|
||||||
|
addPackageRequires
|
||||||
|
;
|
||||||
|
|
||||||
generateNongnu = lib.makeOverridable (
|
generateNongnu = lib.makeOverridable (
|
||||||
{
|
{
|
||||||
generated ? ./nongnu-devel-generated.nix,
|
generated ? ./nongnu-devel-generated.nix,
|
||||||
@ -39,9 +43,15 @@ let
|
|||||||
|
|
||||||
super = imported;
|
super = imported;
|
||||||
|
|
||||||
commonOverrides = import ./nongnu-common-overrides.nix pkgs;
|
commonOverrides = import ./nongnu-common-overrides.nix pkgs lib;
|
||||||
|
|
||||||
overrides = self: super: { };
|
overrides = self: super: {
|
||||||
|
# missing optional dependencies
|
||||||
|
haskell-tng-mode = addPackageRequires super.haskell-tng-mode [
|
||||||
|
self.shut-up
|
||||||
|
self.lsp-mode
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
let
|
let
|
||||||
|
@ -29,7 +29,7 @@ self: let
|
|||||||
|
|
||||||
super = imported;
|
super = imported;
|
||||||
|
|
||||||
commonOverrides = import ./nongnu-common-overrides.nix pkgs;
|
commonOverrides = import ./nongnu-common-overrides.nix pkgs lib;
|
||||||
|
|
||||||
overrides = self: super: { };
|
overrides = self: super: { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user