Add builtin idris packages to idrisPackages

This commit is contained in:
Shea Levy
2015-11-27 09:35:59 -05:00
parent 5898c20604
commit efbee054fd
4 changed files with 82 additions and 10 deletions
@@ -0,0 +1,12 @@
{ idris, buildIdrisPackage }: name: deps: buildIdrisPackage (args: {
inherit name;
propagatedBuildInputs = deps;
inherit (idris) src;
postUnpack = ''
mv $sourceRoot/libs/${name} $IDRIS_LIBRARY_PATH
sourceRoot=$IDRIS_LIBRARY_PATH/${name}
'';
})