diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-13 15:13:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-13 15:13:38 +0100 |
commit | 22358bdb7c75e571fd7922ef04e82be0a14cc698 (patch) | |
tree | f454e9cf540a24d69ecccd1ff0db6c549e9a0ce9 /guix/derivations.scm | |
parent | c2c5b115ab0d855ed96065043fd22574fb69093a (diff) |
Revert "derivations: 'derivation-hash' assumes inputs are coalesced."
This reverts commit 1d008d9f8c44dfdb808235d451b72f255e72f103.
Reported by Rutger Helling <rhelling@mykolab.com>.
Fixes <https://bugs.gnu.org/29689>.
Diffstat (limited to 'guix/derivations.scm')
-rw-r--r-- | guix/derivations.scm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm index f842d26be8..b95849727b 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -658,11 +658,8 @@ derivation at FILE." (make-derivation-input hash sub-drvs)))) inputs)) (drv (make-derivation outputs - - ;; Note: INPUTS is already the result - ;; of 'coalesce-duplicate-inputs'. - (sort inputs derivation-input<?) - + (sort (coalesce-duplicate-inputs inputs) + derivation-input<?) sources system builder args env-vars #f))) |