mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Updated system + added nixpkgs emacs patch
This commit is contained in:
parent
20e30a60f6
commit
87ab124681
3 changed files with 70 additions and 160 deletions
37
patches/emacs-no-version-check.patch
Normal file
37
patches/emacs-no-version-check.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
diff -crB nixpkgs/pkgs/build-support/emacs/generic.nix nixpkgs-patched/pkgs/build-support/emacs/generic.nix
|
||||
*** nixpkgs/pkgs/build-support/emacs/generic.nix 2023-09-08 20:42:24.476059868 -0500
|
||||
--- nixpkgs-patched/pkgs/build-support/emacs/generic.nix 2023-09-08 21:12:46.637645595 -0500
|
||||
***************
|
||||
*** 3,9 ****
|
||||
{ lib, stdenv, emacs, texinfo, writeText, gcc, ... }:
|
||||
|
||||
{ pname
|
||||
! , version
|
||||
, buildInputs ? []
|
||||
, packageRequires ? []
|
||||
, meta ? {}
|
||||
--- 3,9 ----
|
||||
{ lib, stdenv, emacs, texinfo, writeText, gcc, ... }:
|
||||
|
||||
{ pname
|
||||
! , version ? null
|
||||
, buildInputs ? []
|
||||
, packageRequires ? []
|
||||
, meta ? {}
|
||||
***************
|
||||
*** 20,26 ****
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: ({
|
||||
! name = "emacs-${pname}-${finalAttrs.version}";
|
||||
|
||||
unpackCmd = ''
|
||||
case "$curSrc" in
|
||||
--- 20,26 ----
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: ({
|
||||
! name = "emacs-${pname}${lib.optionalString (version != null) "-${version}"}";
|
||||
|
||||
unpackCmd = ''
|
||||
case "$curSrc" in
|
Loading…
Add table
Add a link
Reference in a new issue