diff options
Diffstat (limited to 'guix')
-rw-r--r-- | guix/packages.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/packages.scm b/guix/packages.scm index bb46131132..f63727dd32 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -250,7 +250,11 @@ corresponds to the arguments expected by `set-path-environment-variable'." (match source (($ <origin> uri method sha256 name) (method store uri 'sha256 sha256 name - #:system system)))) + #:system system)) + ((and (? string?) (? store-path?) file) + file) + ((? string? file) + (add-to-store store (basename file) #t "sha256" file)))) (define (transitive-inputs inputs) (let loop ((inputs inputs) |