You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
390 B
14 lines
390 B
4 years ago
|
# Just a convenience function that returns the given Nixpkgs standard
|
||
|
# library extended with the HM library.
|
||
|
|
||
|
nixpkgsLib:
|
||
|
|
||
4 years ago
|
let mkHmLib = import ./.;
|
||
3 years ago
|
in nixpkgsLib.extend (self: super: {
|
||
|
hm = mkHmLib { lib = self; };
|
||
|
|
||
|
# For forward compatibility.
|
||
|
literalExpression = super.literalExpression or super.literalExample;
|
||
|
literalDocBook = super.literalDocBook or super.literalExample;
|
||
|
})
|