mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +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
|
@ -31,8 +31,14 @@
|
|||
spawnEditor = if (editor == "emacsclient") then "emacsclient -c -a 'emacs'"
|
||||
else (if (editor == ("vim" || "nvim" || "nano")) then "$TERM -e $EDITOR" else editor);
|
||||
|
||||
nixpkgs-patched = (import nixpkgs { inherit system; }).applyPatches {
|
||||
name = "nixpkgs-patched";
|
||||
src = nixpkgs;
|
||||
patches = [ ./patches/emacs-no-version-check.patch ];
|
||||
};
|
||||
|
||||
# configure pkgs
|
||||
pkgs = import nixpkgs {
|
||||
pkgs = import nixpkgs-patched {
|
||||
inherit system;
|
||||
config = { allowUnfree = true; };
|
||||
overlays = [ rust-overlay.overlays.default ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue