me
/
guix
Archived
1
0
Fork 0

gnu: sassc: Use INVOKE.

* gnu/packages/web.scm (sassc)[arguments]: Substitute INVOKE for SYSTEM*
and its plumbing.
master
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) (delete 'configure)
(add-after 'unpack 'unpack-libsass-and-set-path (add-after 'unpack 'unpack-libsass-and-set-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass"))) (invoke "tar" "xvf" (assoc-ref inputs "libsass"))
(begin (setenv "SASS_LIBSASS_PATH"
(setenv "SASS_LIBSASS_PATH" (string-append (getcwd) "/libsass-" ,version)))))))
(string-append (getcwd) "/libsass-" ,version))
#t)))))))
(inputs (inputs
`(("libsass" ,libsass))) `(("libsass" ,libsass)))
(synopsis "CSS pre-processor") (synopsis "CSS pre-processor")