emacsPackages.ligo-mode 0 -> 1 attrpath: emacsPackages.ligo-mode 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/kzk9bqlvms1bfz2y596ydr6y3vzc276b-packages.json.drv building '/nix/store/kzk9bqlvms1bfz2y596ydr6y3vzc276b-packages.json.drv'... Going to be running update for following packages: - emacs-ligo-mode-20230302.1616 Press Enter key to continue... Running update for: - emacs-ligo-mode-20230302.1616: UPDATING ... - emacs-ligo-mode-20230302.1616: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ligo-mode/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ligo-mode/default.nix index a81ffcc37e7c..21b94dd4b2b4 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ligo-mode/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ligo-mode/default.nix @@ -7,8 +7,8 @@ let pname = "ligo-mode"; - version = "20230302.1616"; - commit = "d1073474efc9e0a020a4bcdf5e0c12a217265a3a"; + version = "unstable-2024-03-15"; + commit = "f4d762f4bbcb53d774fcce873664591d5d0a1974"; in melpaBuild { inherit pname version commit; @@ -17,7 +17,7 @@ melpaBuild { owner = "ligolang"; repo = "ligo"; rev = commit; - hash = "sha256-wz9DF9mqi8WUt1Ebd+ueUTA314rKkdbjmoWF8cKuS8I="; + hash = "sha256-F7MREPSU6mWJ6gr/6AE/0IzfjERNT+uXz5fgNxc8x5A="; }; packageRequires = [ ]; No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/cs41wvvf98zsgw7vbpfabj5f8d2y0ihz-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A emacsPackages.ligo-mode nix build failed. version-to-list("unstable-2024-03-15") package-desc-from-define("ligo-mode" "unstable-2024-03-15" "A major mode for editing LIGO source code" ((emacs "27.1")) :kind single :url "https://gitlab.com/ligolang/ligo/-/tree/dev/tools/emacs" :keywords ("languages") :maintainer nil :maintainers nil :authors nil :commit "f4d762f4bbcb53d774fcce873664591d5d0a1974") (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(# (("tools/emacs/ligo-mode.el" . "ligo-mode.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(# (("tools/emacs/ligo-mode.el" . "ligo-mode.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" "ligo-mode" "unstable-2024-03-15" "f4d762f4bbcb53d774fcce873664591d5d0a1974")) command-line() normal-top-level() Invalid version syntax: `unstable-2024-03-15' (must start with a number)