[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45191] [PATCH] Improve reproducibility of package ECL
From: |
Guillaume Le Vaillant |
Subject: |
[bug#45191] [PATCH] Improve reproducibility of package ECL |
Date: |
Sun, 13 Dec 2020 14:24:09 +0100 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Zhu Zihao <all_but_last@163.com> skribis:
> + (use-modules (ice-9 ftw))
> + (let* ((lib (string-append (assoc-ref outputs "out") "/lib"))
> + (dir (car (scandir lib (lambda (x)
> + (string-prefix? "ecl-" x))))))
> + (delete-file (string-append lib "/" dir "/build-stamp")))
Wouldn't something like the following suffice?
--8<---------------cut here---------------start------------->8---
(delete-file (string-append (assoc-ref outputs "out")
"/lib/ecl-" ,version "/build-stamp"))
--8<---------------cut here---------------end--------------->8---
signature.asc
Description: PGP signature