gnu: sassc: Use INVOKE.

* gnu/packages/web.scm (sassc)[arguments]: Substitute INVOKE for SYSTEM*
and its plumbing.
This commit is contained in:
Tobias Geerinckx-Rice 2018-04-01 07:42:27 +02:00
parent b5d587055b
commit 7f4e5f19fa
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 5 deletions

View File

@ -1236,11 +1236,9 @@ minimum to provide high performance operation.")
(delete 'configure)
(add-after 'unpack 'unpack-libsass-and-set-path
(lambda* (#:key inputs #:allow-other-keys)
(and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
(begin
(setenv "SASS_LIBSASS_PATH"
(string-append (getcwd) "/libsass-" ,version))
#t)))))))
(invoke "tar" "xvf" (assoc-ref inputs "libsass"))
(setenv "SASS_LIBSASS_PATH"
(string-append (getcwd) "/libsass-" ,version)))))))
(inputs
`(("libsass" ,libsass)))
(synopsis "CSS pre-processor")