dev: move shell.nix out of test/
And delete test/, as it will live elsewhere when Doom core and modules are separated.
This commit is contained in:
parent
a9c22b704b
commit
78ecc56ed3
1 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
#
|
#
|
||||||
# With your own DOOMDIR:
|
# With your own DOOMDIR:
|
||||||
#
|
#
|
||||||
# nix-shell --argstr doomdir ~/.config/doom
|
# nix-shell --argstr doomdir ~/.config/other-doom-config
|
||||||
#
|
#
|
||||||
# With a specific version of Emacs
|
# With a specific version of Emacs
|
||||||
#
|
#
|
||||||
|
@ -39,9 +39,9 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
, emacs ? "27"
|
, emacs ? "27"
|
||||||
, emacsdir ? "$(pwd)/.."
|
, emacsdir ? "$(pwd)"
|
||||||
, doomdir ? "$(pwd)"
|
, doomdir ? ""
|
||||||
, doomlocaldir ? "$(pwd)/.local" }:
|
, doomlocaldir ? "$EMACSDIR/.local" }:
|
||||||
|
|
||||||
let emacsPkg = (if emacs == "26" then pkgs.emacs26
|
let emacsPkg = (if emacs == "26" then pkgs.emacs26
|
||||||
else if emacs == "26.3" then pkgs.emacs26
|
else if emacs == "26.3" then pkgs.emacs26
|
||||||
|
@ -88,6 +88,6 @@ in pkgs.stdenv.mkDerivation {
|
||||||
cp -r "$EMACSDIR/.local/straight/repos" ./repos
|
cp -r "$EMACSDIR/.local/straight/repos" ./repos
|
||||||
fi
|
fi
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
echo "Ready!"
|
echo "Ready! Remember to 'doom sync'!"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue