idris-modules: documentation
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{ idris, build-idris-package }: name: deps: build-idris-package (args: {
|
||||
# Build one of the packages that come with idris
|
||||
# name: The name of the package
|
||||
# deps: The dependencies of the package
|
||||
{ idris, build-idris-package, lib }: name: deps: build-idris-package {
|
||||
inherit name;
|
||||
|
||||
propagatedBuildInputs = deps;
|
||||
@@ -9,4 +12,8 @@
|
||||
mv $sourceRoot/libs/${name} $IDRIS_LIBRARY_PATH
|
||||
sourceRoot=$IDRIS_LIBRARY_PATH/${name}
|
||||
'';
|
||||
})
|
||||
|
||||
meta = idris.meta // {
|
||||
description = "${name} builtin Idris library";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user