From 1e7de7c2823a9beea7103249b732f14b1b1e8f78 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 13 Mar 2022 18:35:03 +0100 Subject: nvfetcher --- accounts/gkleen@sif/default.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'accounts') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 7c75af98..7e064e6a 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -1,25 +1,15 @@ -{ flake, flakeInputs, userName, pkgs, customUtils, lib, config, ... }@inputs: +{ flake, flakeInputs, userName, pkgs, customUtils, lib, config, sources, ... }@inputs: let cfg = config.home-manager.users.${userName}; xmonad = import ./xmonad pkgs.haskellPackages; - emacsScratch = pkgs.stdenv.mkDerivation rec { - pname = "scratch"; - version = "0077334cc299aa7885f804d88f52cdb1b35caf71"; - - src = pkgs.fetchFromGitHub { - owner = "ffevotte"; - repo = "scratch.el"; - rev = version; - sha256 = "sha256-FUkKJ+1COGzgllzzv51yUIjMZI6slOFVExdwWl2ZEBA="; - }; - + emacsScratch = pkgs.stdenv.mkDerivation (sources.emacs-scratch_el // rec { phases = [ "installPhase" ]; installPhase = '' mkdir -p $out/share/emacs/site-lisp cp $src/scratch.el $out/share/emacs/site-lisp/default.el ''; - }; + }); muteScript = pkgs.stdenv.mkDerivation { name = "mute"; src = ./scripts/mute.zsh; -- cgit v1.2.3