lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 29 lines 791 B view raw
1{ buildDhallPackage, lib }: 2 3# This is a minor variation on `buildDhallPackage` that splits the `code` 4# argument into `src` and `file` in such a way that you can easily override 5# the `file` 6# 7# This function is used by `dhall-to-nixpkgs` when given a directory 8lib.makePackageOverridable 9 ( { # Arguments passed through to `buildDhallPackage` 10 name 11 , dependencies ? [] 12 , source ? false 13 14 , src 15 , # The file to import, relative to the root directory 16 file ? "package.dhall" 17 # Set to `true` to generate documentation for the package 18 , document ? false 19 }: 20 21 buildDhallPackage 22 ( { inherit name dependencies source; 23 24 code = "${src}/${file}"; 25 26 } 27 // lib.optionalAttrs document { documentationRoot = "${src}"; } 28 ) 29 )