diff options
Diffstat (limited to 'users/glittershark/gws.fyi/orgExportHTML.nix')
-rw-r--r-- | users/glittershark/gws.fyi/orgExportHTML.nix | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/users/glittershark/gws.fyi/orgExportHTML.nix b/users/glittershark/gws.fyi/orgExportHTML.nix index 153036789f6b..ad5a24795826 100644 --- a/users/glittershark/gws.fyi/orgExportHTML.nix +++ b/users/glittershark/gws.fyi/orgExportHTML.nix @@ -1,22 +1,15 @@ -{ pkgs ? import <nixpkgs> {}, ... }: +{ pkgs, ... }: with pkgs; with lib; let - emacs-nixpkgs = - (import <nixpkgs> { - overlays = [(import (builtins.fetchTarball { - url = "https://github.com/nix-community/emacs-overlay/archive/54afb061bdd12c61bbfcc13bad98b7a3aab7d8d3.tar.gz"; - sha256 = "0hrbg65d5h0cb0nky7a46md7vlvhajq1hf0328l2f7ln9hznqz6j"; - }))]; - }); - - emacs = (emacs-nixpkgs.emacsPackagesFor emacs-nixpkgs.emacsUnstable) - .emacsWithPackages (p: with p; [ - org - ]); + emacsWithPackages = (pkgs.emacsPackagesGen pkgs.emacs27).emacsWithPackages; + + emacs = emacsWithPackages (p: with p; [ + org + ]); in |