diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-04-13 00:42:07 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-04-13 00:42:07 +0200 |
commit | 99e17dc9274c82911c284eaeccdba08b7425f018 (patch) | |
tree | cbdb1fb94d3d2a0f543f2c0eb47241b5da799f5d /guix/derivations.scm | |
parent | c5cd288bc71667bfd5c63a5ba958de8f49815385 (diff) |
derivations: Fix 'fixed-output-derivation?'.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
* guix/derivations.scm (fixed-output-derivation?): Fix pattern.
* tests/derivations.scm ("fixed-output-derivation?"): Add test.
Diffstat (limited to 'guix/derivations.scm')
-rw-r--r-- | guix/derivations.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm index 4d11434e3a..a3a4eae6ac 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -121,7 +121,7 @@ download with a fixed hash (aka. `fetchurl')." (match drv (($ <derivation> - (($ <derivation-output> _ (? symbol?) (? string?)))) + (("out" . ($ <derivation-output> _ (? symbol?) (? bytevector?))))) #t) (_ #f))) |