Remove "full" build flag

No longer used.
This commit is contained in:
Marien Zwart 2024-05-26 14:59:40 +10:00
parent 5dbe1874b1
commit 313b9ef400
No known key found for this signature in database
2 changed files with 3 additions and 8 deletions

View file

@ -18,12 +18,11 @@
(require 'json)
(defcli! dump
((output-directory ("-o" dir) "Directory to dump into.")
(&flag full? ("--full")))
((output-directory ("-o" dir) "Directory to dump into."))
"Dump intermediates for nix-doom-emacs-unstraightened."
;; Load the user's init.el, or we'll dump only core packages.
(load! doom-module-init-file doom-user-dir t)
(let* ((all-packages (doom-package-list full?))
(let* ((all-packages (doom-package-list))
;; For built-in packages, the :ignore property is the location of the
;; built-in library, which is a Nix store path. We do not want that
;; path to escape: avoid it by just filtering ignored packages here.

View file

@ -32,9 +32,6 @@
doomSource,
/* Emacs package to build against. */
emacs,
/* Whether to enable all default dependencies. Primarily useful for CI /
testing. */
full ? false,
/* Name of doom profile to use. */
profileName ? "nix",
/* Disable profile early in startup, so "normal" cache/state dirs are used. */
@ -98,8 +95,7 @@ let
} ''
mkdir $out
export DOOMLOCALDIR=$(mktemp -d)
${runtimeShell} ${doomSource}/bin/doomscript ${./build-helpers/dump} \
${optionalString full "--full"} -o $out
${runtimeShell} ${doomSource}/bin/doomscript ${./build-helpers/dump} -o $out
'';
doomPackageSet = lib.importJSON "${doomIntermediates}/packages.json";