diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index efee43d852e..7a85cfa1ed4 100644 --- a/pkgs/build-support/emacs/wrapper.nix +++ b/pkgs/build-support/emacs/wrapper.nix @@ -52,7 +52,8 @@ stdenv.mkDerivation { phases = [ "installPhase" ]; installPhase = '' mkdir -p $out/bin - mkdir -p $out/share/emacs/site-lisp + mkdir -p $out/share/emacs-with-packages/bin + mkdir -p $out/share/emacs-with-packages/site-lisp local requires for pkg in $explicitRequires; do @@ -60,29 +61,32 @@ stdenv.mkDerivation { done # requires now holds all requested packages and their transitive dependencies - siteStart="$out/share/emacs/site-lisp/site-start.el" + siteStart="$out/share/emacs-with-packages/site-lisp/site-start.el" # Begin the new site-start.el by loading the original, which sets some # NixOS-specific paths. Paths are searched in the reverse of the order # they are specified in, so user and system profile paths are searched last. cat >"$siteStart" <