cfcd52ff70
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
13 lines
390 B
Nix
13 lines
390 B
Nix
# Just a convenience function that returns the given Nixpkgs standard
|
|
# library extended with the HM library.
|
|
|
|
nixpkgsLib:
|
|
|
|
let mkHmLib = import ./.;
|
|
in nixpkgsLib.extend (self: super: {
|
|
hm = mkHmLib { lib = self; };
|
|
|
|
# For forward compatibility.
|
|
literalExpression = super.literalExpression or super.literalExample;
|
|
literalDocBook = super.literalDocBook or super.literalExample;
|
|
})
|