Remove interactive build for telega-server, as it fails on Guix. Modify the `telega-server--find-bin' function to only use the version of telega-server installed by Guix. Created by Brett Gilio --- a/telega-server.el +++ b/telega-server.el @@ -113,7 +113,6 @@ If already deferring, then just executes the BODY." If BUILD-FLAGS is specified, then rebuild server without any queries using this flags for building, could be empty string. Otherwise query user about building flags." - (interactive) (telega-test-env 'quiet) (when (or build-flags (y-or-n-p "Build `telega-server'? ")) @@ -137,11 +136,8 @@ Otherwise query user about building flags." (defun telega-server--find-bin () "Find telega-server executable. Raise error if not found." - (let ((exec-path (cons telega-directory exec-path))) - (or (executable-find "telega-server") - (progn (telega-server-build) - (executable-find "telega-server")) - (error "`telega-server' not found in exec-path")))) + (or (executable-find "telega-server") + (error "`telega-server' not found in exec-path"))) (defun telega-server-version () "Return telega-server version." f='/guix/tree/tests/search-paths.scm?id=2ae2a15b075dd3c8d34f0c2e3af279e192931f45'>treecommitdiff
path: root/tests/search-paths.scm
AgeCommit message (Expand)Author
2019-06-14build: Remove 'gnu/packages/bootstrap' and its binaries....* gnu/local.mk (bootstrapdir, bootstrap_i686_linuxdir) (bootstrap_armhf_linuxdir, bootstrap_aarch64_linuxdir) (bootstrap_mips64el_linuxdir, dist_bootstrap_i686_linux_DATA) (dist_bootstrap_armhf_linux_DATA, dist_bootstrap_aarch64_linux_DATA) (dist_bootstrap_mips64el_linux_DATA): Remove. (set-bootstrap-executable-permissions): Remove target. * Makefile.am (install-data-hook): Remove dependency on 'set-bootstrap-executable-permissions'. * gnu/packages/bootstrap: Remove directory. * tests/search-paths.scm ("evaluate-search-paths, separator is #f"): Adjust to match .../aux-files/linux-libre. Ludovic Courtès
2017-04-04tests: Adjust search-paths test following the introduction of aarch64....Fixes a regression introduced in 3b88f3767d9f3ad2cc64173525cd53d429bfe7e7. * tests/search-paths.scm ("evaluate-search-paths, separator is #f"): Change the expected result to "aarch64-linux". Ludovic Courtès
2017-01-23search-paths: Allow specs with #f as their separator....This adds support for single-entry search paths. Fixes <http://bugs.gnu.org/25422>. Reported by Leo Famulari <leo@famulari.name>. * guix/search-paths.scm (<search-path-specification>)[separator]: Document as string or #f. (evaluate-search-paths): Add case for SEPARATOR as #f. (environment-variable-definition): Handle SEPARATOR being #f. * guix/build/utils.scm (list->search-path-as-string): Add case for SEPARATOR as #f. (search-path-as-string->list): Likewise. * guix/build/profiles.scm (abstract-profile): Likewise. * tests/search-paths.scm: New file. * Makefile.am (SCM_TESTS): Add it. * tests/packages.scm ("--search-paths with single-item search path"): New test. * gnu/packages/version-control.scm (git)[native-search-paths](separator): New field. Ludovic Courtès