emacsPackages.acm-terminal 0 -> 1 attrpath: emacsPackages.acm-terminal Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/27jyj471l4rk9ipidvn4jhaf6hg7x4xa-packages.json.drv building '/nix/store/27jyj471l4rk9ipidvn4jhaf6hg7x4xa-packages.json.drv'... Going to be running update for following packages: - emacs-acm-terminal-20230601.1326 Press Enter key to continue... Running update for: - emacs-acm-terminal-20230601.1326: UPDATING ... - emacs-acm-terminal-20230601.1326: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/acm-terminal/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/acm-terminal/default.nix index bac7de0fea35..4084ffbd3903 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/acm-terminal/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/acm-terminal/default.nix @@ -8,17 +8,17 @@ }: let - rev = "0dbbd7f401da1bedd1a9146df6127233d601435b"; + rev = "1851d8fa2a27d3fd8deeeb29cd21c3002b8351ba"; in melpaBuild { pname = "acm-terminal"; - version = "20230601.1326"; # 13:26 UTC + version = "unstable-2023-12-06"; # 13:26 UTC src = fetchFromGitHub { owner = "twlz0ne"; repo = "acm-terminal"; inherit rev; - sha256 = "sha256-Opouy9A6z0YUT1zxZq1yHx+r/hwNE93JDwfa1fMWNgc="; + sha256 = "sha256-EYhFrOo0j0JSNTdcZCbyM0iLxaymUXi1u6jZy8lTOaY="; }; commit = rev; No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/cydbsmqkxk30didm1rlz8ffk5wfa9gva-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A emacsPackages.acm-terminal nix build failed. version-to-list("unstable-2023-12-06") package-desc-from-define("acm-terminal" "unstable-2023-12-06" "Patch for LSP bridge acm on Terminal" ((emacs "26.1")) :kind single :url "https://github.com/twlz0ne/acm-terminal" :keywords nil :maintainer ("Gong Qijian" . "gongqijian@gmail.com") :maintainers (("Gong Qijian" . "gongqijian@gmail.com")) :authors (("Gong Qijian" . "gongqijian@gmail.com")) :commit "1851d8fa2a27d3fd8deeeb29cd21c3002b8351ba") (progn (insert-file-contents file) (setq maintainers (if (fboundp 'lm-maintainers) (lm-maintainers) (with-no-warnings (let* ((maintainer (and t (lm-maintainer)))) (if maintainer (list maintainer) nil))))) (package-desc-from-define name version (or (save-excursion (goto-char (point-min)) (and (re-search-forward "^;;; [^ ]*\\.el ---[ \11]*\\(.*?\\)[ \11]*\\(-\\*-.*-\\*-[ \11]*\\)?$" nil t) (match-string-no-properties 1))) "No description available.") (if (fboundp 'lm-package-requires) (lm-package-requires) (let* ((require-lines (and t (lm-header-multiline "package-requires")))) (if require-lines (package--prepare-dependencies (package-read-from-string (mapconcat #'identity require-lines " "))) nil))) :kind (or kind 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (car maintainers) :maintainers maintainers :authors (lm-authors) :commit commit)) (unwind-protect (progn (insert-file-contents file) (setq maintainers (if (fboundp 'lm-maintainers) (lm-maintainers) (with-no-warnings (let* ((maintainer (and t (lm-maintainer)))) (if maintainer (list maintainer) nil))))) (package-desc-from-define name version (or (save-excursion (goto-char (point-min)) (and (re-search-forward "^;;; [^ ]*\\.el ---[ \11]*\\(.*?\\)[ \11]*\\(-\\*-.*-\\*-[ \11]*\\)?$" nil t) (match-string-no-properties 1))) "No description available.") (if (fboundp 'lm-package-requires) (lm-package-requires) (let* ((require-lines (and t (lm-header-multiline "package-requires")))) (if require-lines (package--prepare-dependencies (package-read-from-string (mapconcat #'identity require-lines " "))) nil))) :kind (or kind 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (car maintainers) :maintainers maintainers :authors (lm-authors) :commit commit)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert-file-contents file) (setq maintainers (if (fboundp 'lm-maintainers) (lm-maintainers) (with-no-warnings (let* ((maintainer (and t (lm-maintainer)))) (if maintainer (list maintainer) nil))))) (package-desc-from-define name version (or (save-excursion (goto-char (point-min)) (and (re-search-forward "^;;; [^ ]*\\.el ---[ \11]*\\(.*?\\)[ \11]*\\(-\\*-.*-\\*-[ \11]*\\)?$" nil t) (match-string-no-properties 1))) "No description available.") (if (fboundp 'lm-package-requires) (lm-package-requires) (let* ((require-lines (and t (lm-header-multiline "package-requires")))) (if require-lines (package--prepare-dependencies (package-read-from-string (mapconcat #'identity require-lines " "))) nil))) :kind (or kind 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (car maintainers) :maintainers maintainers :authors (lm-authors) :commit commit)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))) (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert-file-contents file) (setq maintainers (if (fboundp 'lm-maintainers) (lm-maintainers) (with-no-warnings (let* ((maintainer (and t (lm-maintainer)))) (if maintainer (list maintainer) nil))))) (package-desc-from-define name version (or (save-excursion (goto-char (point-min)) (and (re-search-forward "^;;; [^ ]*\\.el ---[ \11]*\\(.*?\\)[ \11]*\\(-\\*-.*-\\*-[ \11]*\\)?$" nil t) (match-string-no-properties 1))) "No description available.") (if (fboundp 'lm-package-requires) (lm-package-requires) (let* ((require-lines (and t (lm-header-multiline "package-requires")))) (if require-lines (package--prepare-dependencies (package-read-from-string (mapconcat #'identity require-lines " "))) nil))) :kind (or kind 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (car maintainers) :maintainers maintainers :authors (lm-authors) :commit commit)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (and (file-exists-p file) (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert-file-contents file) (setq maintainers (if (fboundp 'lm-maintainers) (lm-maintainers) (with-no-warnings (let* ((maintainer (and t (lm-maintainer)))) (if maintainer (list maintainer) nil))))) (package-desc-from-define name version (or (save-excursion (goto-char (point-min)) (and (re-search-forward "^;;; [^ ]*\\.el ---[ \11]*\\(.*?\\)[ \11]*\\(-\\*-.*-\\*-[ \11]*\\)?$" nil t) (match-string-no-properties 1))) "No description available.") (if (fboundp 'lm-package-requires) (lm-package-requires) (let* ((require-lines (and t (lm-header-multiline "package-requires")))) (if require-lines (package--prepare-dependencies (package-read-from-string (mapconcat #'identity require-lines " "))) nil))) :kind (or kind 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (car maintainers) :maintainers maintainers :authors (lm-authors) :commit commit)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))) (let* ((name (eieio-oref rcp 'name)) (version (eieio-oref rcp 'version)) (commit (eieio-oref rcp 'commit)) (file (concat name ".el")) (file (or (car (rassoc file files)) file)) (maintainers nil)) (and (file-exists-p file) (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert-file-contents file) (setq maintainers (if (fboundp 'lm-maintainers) (lm-maintainers) (with-no-warnings (let* ((maintainer (and t (lm-maintainer)))) (if maintainer (list maintainer) nil))))) (package-desc-from-define name version (or (save-excursion (goto-char (point-min)) (and (re-search-forward "^;;; [^ ]*\\.el ---[ \11]*\\(.*?\\)[ \11]*\\(-\\*-.*-\\*-[ \11]*\\)?$" nil t) (match-string-no-properties 1))) "No description available.") (if (fboundp 'lm-package-requires) (lm-package-requires) (let* ((require-lines (and t (lm-header-multiline "package-requires")))) (if require-lines (package--prepare-dependencies (package-read-from-string (mapconcat #'identity require-lines " "))) nil))) :kind (or kind 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (car maintainers) :maintainers maintainers :authors (lm-authors) :commit commit)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))))) package-build--desc-from-library(# (("acm-terminal.el" . "acm-terminal.el"))) (let* ((name (eieio-oref rcp 'name)) (version (eieio-oref rcp 'version)) (commit (eieio-oref rcp 'commit)) (file (car (car files))) (source (expand-file-name file)) (target (expand-file-name (concat name "-" version ".el") package-build-archive-dir)) (desc (package-build--desc-from-library rcp files))) (if (member (downcase (file-name-nondirectory file)) (list (downcase (concat name ".el")) (downcase (concat name ".el.in")))) nil (package-build--error name "Single file %s does not match package name %s" file name)) (copy-file source target t) (let ((enable-local-variables nil) (make-backup-files nil) (before-save-hook nil)) (save-current-buffer (set-buffer (find-file target)) (package-build--update-or-insert-header "Package-Commit" commit) (package-build--update-or-insert-header "Package-Version" version) (package-build--ensure-ends-here-line source) (write-file target nil) (kill-buffer))) (package-build--write-pkg-readme rcp files) (package-build--write-archive-entry desc)) package-build--build-single-file-package(# (("acm-terminal.el" . "acm-terminal.el"))) (if (> (length files) 1) (package-build--build-multi-file-package rcp files) (package-build--build-single-file-package rcp files)) (let ((files (package-build-expand-files-spec rcp t))) (if files nil (error "Unable to find files matching recipe patterns")) (if (> (length files) 1) (package-build--build-multi-file-package rcp files) (package-build--build-single-file-package rcp files))) (unwind-protect (let ((files (package-build-expand-files-spec rcp t))) (if files nil (error "Unable to find files matching recipe patterns")) (if (> (length files) 1) (package-build--build-multi-file-package rcp files) (package-build--build-single-file-package rcp files)))) (let* ((default-directory (package-recipe--working-tree rcp))) (unwind-protect (let ((files (package-build-expand-files-spec rcp t))) (if files nil (error "Unable to find files matching recipe patterns")) (if (> (length files) 1) (package-build--build-multi-file-package rcp files) (package-build--build-single-file-package rcp files))))) melpa2nix-build-package-1(#) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe)) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe))) (if (null x117) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe)))) (let* ((x116 (car-safe x115)) (x117 (cdr-safe x115))) (if (null x117) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe))))) (if (consp x115) (let* ((x116 (car-safe x115)) (x117 (cdr-safe x115))) (if (null x117) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe)))))) (let* ((x114 (car-safe x113)) (x115 (cdr-safe x113))) (if (consp x115) (let* ((x116 (car-safe x115)) (x117 (cdr-safe x115))) (if (null x117) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe))))))) (if (consp x113) (let* ((x114 (car-safe x113)) (x115 (cdr-safe x113))) (if (consp x115) (let* ((x116 (car-safe x115)) (x117 (cdr-safe x115))) (if (null x117) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe)))))))) (let* ((x112 (car-safe command-line-args-left)) (x113 (cdr-safe command-line-args-left))) (if (consp x113) (let* ((x114 (car-safe x113)) (x115 (cdr-safe x113))) (if (consp x115) (let* ((x116 (car-safe x115)) (x117 (cdr-safe x115))) (if (null x117) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe))))))))) (if (consp command-line-args-left) (let* ((x112 (car-safe command-line-args-left)) (x113 (cdr-safe command-line-args-left))) (if (consp x113) (let* ((x114 (car-safe x113)) (x115 (cdr-safe x113))) (if (consp x115) (let* ((x116 (car-safe x115)) (x117 (cdr-safe x115))) (if (null x117) (let ((package x112) (version x114) (commit x116)) (let ((recipe (package-recipe-lookup package))) (let* ((v recipe)) (eieio-oset v 'commit commit)) (let* ((v recipe)) (eieio-oset v 'version version)) (melpa2nix-build-package-1 recipe)))))))))) melpa2nix-build-package() command-line-1(("-L" "/build/package-build" "-l" "/nix/store/il78imwh61pkvibmnmk2c49m5rrz0isw-melpa2nix.el" "-f" "melpa2nix-build-package" "acm-terminal" "unstable-2023-12-06" "1851d8fa2a27d3fd8deeeb29cd21c3002b8351ba")) command-line() normal-top-level() Invalid version syntax: `unstable-2023-12-06' (must start with a number)