add path fetcher

This commit is contained in:
Charles Strahan 2014-11-08 23:46:34 +00:00
parent e1c40a679c
commit 2a3f2cfce8

View file

@ -31,6 +31,7 @@
let
const = x: y: x;
fetchers.path = attrs: attrs.src.path;
fetchers.gem = attrs: fetchurl {
url = "${attrs.src.source or "https://rubygems.org"}/downloads/${attrs.name}-${attrs.version}.gem";
inherit (attrs.src) sha256;