diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-03-28 19:17:34 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-03-28 19:17:48 +0200 |
commit | 0244952c11c0409597fce5c39dfbcafdfd2ea651 (patch) | |
tree | aeb260d070b48ff082bfba2e6c3846c837b48a3f | |
parent | 0fa50555975dcad5dc2c886d1c496b2335be6a28 (diff) | |
download | patches-0244952c11c0409597fce5c39dfbcafdfd2ea651.tar patches-0244952c11c0409597fce5c39dfbcafdfd2ea651.tar.gz |
build-system/ruby: Use invoke.
* guix/build/ruby-build-system.scm (install): Use invoke.
-rw-r--r-- | guix/build/ruby-build-system.scm | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/guix/build/ruby-build-system.scm b/guix/build/ruby-build-system.scm index ba0de1259e..49400b204d 100644 --- a/guix/build/ruby-build-system.scm +++ b/guix/build/ruby-build-system.scm @@ -143,14 +143,13 @@ GEM-FLAGS are passed to the 'gem' invokation, if present." (gem-dir (string-append vendor-dir "/gems/" gem-name))) (setenv "GEM_VENDOR" vendor-dir) - (or (zero? - (apply system* "gem" "install" gem-file - "--verbose" - "--local" "--ignore-dependencies" "--vendor" - ;; Executables should go into /bin, not - ;; /lib/ruby/gems. - "--bindir" (string-append out "/bin") - gem-flags)) + (or (apply invoke "gem" "install" gem-file + "--verbose" + "--local" "--ignore-dependencies" "--vendor" + ;; Executables should go into /bin, not + ;; /lib/ruby/gems. + "--bindir" (string-append out "/bin") + gem-flags) (begin (let ((failed-output-dir (string-append (getcwd) "/out"))) (mkdir failed-output-dir) |