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/8yg1yyqw79lyavvvm8fscwzcyhc8akdx-packages.json.drv building '/nix/store/8yg1yyqw79lyavvvm8fscwzcyhc8akdx-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/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/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") :authors (("Gong Qijian" . "gongqijian@gmail.com")) :commit "1851d8fa2a27d3fd8deeeb29cd21c3002b8351ba") (progn (insert-file-contents file) (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.") (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 type 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (if (fboundp 'lm-maintainers) (car (lm-maintainers)) (with-no-warnings (lm-maintainer))) :authors (lm-authors) :commit commit)) (unwind-protect (progn (insert-file-contents file) (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.") (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 type 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (if (fboundp 'lm-maintainers) (car (lm-maintainers)) (with-no-warnings (lm-maintainer))) :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) (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.") (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 type 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (if (fboundp 'lm-maintainers) (car (lm-maintainers)) (with-no-warnings (lm-maintainer))) :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) (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.") (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 type 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (if (fboundp 'lm-maintainers) (car (lm-maintainers)) (with-no-warnings (lm-maintainer))) :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) (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.") (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 type 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (if (fboundp 'lm-maintainers) (car (lm-maintainers)) (with-no-warnings (lm-maintainer))) :authors (lm-authors) :commit commit)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))) (let* ((file (concat name ".el")) (file (or (car (rassoc file files)) file))) (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) (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.") (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 type 'single) :url (lm-homepage) :keywords (lm-keywords-list) :maintainer (if (fboundp 'lm-maintainers) (car (lm-maintainers)) (with-no-warnings (lm-maintainer))) :authors (lm-authors) :commit commit)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))))) package-build--desc-from-library("acm-terminal" "unstable-2023-12-06" "1851d8fa2a27d3fd8deeeb29cd21c3002b8351ba" (("acm-terminal.el" . "acm-terminal.el"))) (let ((default-directory source-dir)) (package-build--desc-from-library name version commit files)) (let* ((name (eieio-oref rcp 'name)) (file (car (car files))) (source (expand-file-name file source-dir)) (target (expand-file-name (concat name "-" version ".el") package-build-archive-dir)) (desc (let ((default-directory source-dir)) (package-build--desc-from-library name version commit files)))) (if (member (downcase (file-name-nondirectory file)) (list (downcase (concat name ".el")) (downcase (concat name ".el.in")))) nil (error "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 name files source-dir) (package-build--write-archive-entry desc)) package-build--build-single-file-package(# "unstable-2023-12-06" "1851d8fa2a27d3fd8deeeb29cd21c3002b8351ba" (("acm-terminal.el" . "acm-terminal.el")) "/build/working/acm-terminal/") (cond ((= (length files) 1) (package-build--build-single-file-package rcp version commit files source-dir)) ((> (length files) 1) (package-build--build-multi-file-package rcp version commit files source-dir)) (t (error "Unable to find files matching recipe patterns"))) (let ((files (package-build-expand-files-spec rcp t))) (cond ((= (length files) 1) (package-build--build-single-file-package rcp version commit files source-dir)) ((> (length files) 1) (package-build--build-multi-file-package rcp version commit files source-dir)) (t (error "Unable to find files matching recipe patterns")))) (unwind-protect (let ((files (package-build-expand-files-spec rcp t))) (cond ((= (length files) 1) (package-build--build-single-file-package rcp version commit files source-dir)) ((> (length files) 1) (package-build--build-multi-file-package rcp version commit files source-dir)) (t (error "Unable to find files matching recipe patterns"))))) (let ((source-dir (package-recipe--working-tree rcp))) (unwind-protect (let ((files (package-build-expand-files-spec rcp t))) (cond ((= (length files) 1) (package-build--build-single-file-package rcp version commit files source-dir)) ((> (length files) 1) (package-build--build-multi-file-package rcp version commit files source-dir)) (t (error "Unable to find files matching recipe patterns")))))) melpa2nix-build-package-1(# "unstable-2023-12-06" "1851d8fa2a27d3fd8deeeb29cd21c3002b8351ba") (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit)) (if (null x63) (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit))) (let* ((x62 (car-safe x61)) (x63 (cdr-safe x61))) (if (null x63) (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit)))) (if (consp x61) (let* ((x62 (car-safe x61)) (x63 (cdr-safe x61))) (if (null x63) (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit))))) (let* ((x60 (car-safe x59)) (x61 (cdr-safe x59))) (if (consp x61) (let* ((x62 (car-safe x61)) (x63 (cdr-safe x61))) (if (null x63) (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit)))))) (if (consp x59) (let* ((x60 (car-safe x59)) (x61 (cdr-safe x59))) (if (consp x61) (let* ((x62 (car-safe x61)) (x63 (cdr-safe x61))) (if (null x63) (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit))))))) (let* ((x58 (car-safe command-line-args-left)) (x59 (cdr-safe command-line-args-left))) (if (consp x59) (let* ((x60 (car-safe x59)) (x61 (cdr-safe x59))) (if (consp x61) (let* ((x62 (car-safe x61)) (x63 (cdr-safe x61))) (if (null x63) (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit)))))))) (if (consp command-line-args-left) (let* ((x58 (car-safe command-line-args-left)) (x59 (cdr-safe command-line-args-left))) (if (consp x59) (let* ((x60 (car-safe x59)) (x61 (cdr-safe x59))) (if (consp x61) (let* ((x62 (car-safe x61)) (x63 (cdr-safe x61))) (if (null x63) (let ((package x58) (version x60) (commit x62)) (melpa2nix-build-package-1 (package-recipe-lookup package) version commit))))))))) melpa2nix-build-package() command-line-1(("-L" "/build/package-build" "-l" "/nix/store/65hf8xsn31cindnpqcnha1w591jyvzhb-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)