2020-01-16 23:41:14 +01:00
|
|
|
# Just a convenience function that returns the given Nixpkgs standard
|
|
|
|
# library extended with the HM library.
|
|
|
|
|
|
|
|
nixpkgsLib:
|
|
|
|
|
2020-02-02 00:39:17 +01:00
|
|
|
let mkHmLib = import ./.;
|
2021-10-09 11:12:40 +02:00
|
|
|
in nixpkgsLib.extend (self: super: {
|
|
|
|
hm = mkHmLib { lib = self; };
|
|
|
|
|
|
|
|
# For forward compatibility.
|
|
|
|
literalExpression = super.literalExpression or super.literalExample;
|
|
|
|
literalDocBook = super.literalDocBook or super.literalExample;
|
|
|
|
})
|