l...@gnu.org (Ludovic Courtès) writes:

> Eric Bavier <bav...@member.fsf.org> skribis:
>
>> * guix/packages.scm (%standard-patch-inputs): Add "unzip".
>>   (patch-and-repack)[decompression-type]: Detect zip archive.
>>   [build]: Invoke "unzip" when appropriate.
>
> Please add “Fixes <http://bugs.gnu.org/19830>.” right above, and email
> 19830-cl...@debbugs.gnu.org with the commit id afterwards.
>
>> -                   (zero? (system* (string-append #$tar "/bin/tar")
>> -                                   "xvf" #$source)))
>> +                   #$@(if (string=? decompression-type "unzip")
>> +                          #~((zero? (system* "unzip" #$source)))
>> +                          #~((zero? (system* (string-append #$tar 
>> "/bin/tar")
>> +                                             "xvf" #$source)))))
>
> Simply:
>
>   #$(if (string=? decompression-type "unzip")
>         #~(zero? (system* "unzip" #$source))
>         #~(zero? (system* (string-append #$tar "/bin/tar") ...)))
>
> OK to push with these changes!

This is for core-updates, right?

       Mark

Reply via email to