init: public
This commit is contained in:
13
lib/stdlib-extended.nix
Normal file
13
lib/stdlib-extended.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
# Just a convenience function that returns the given Nixpkgs standard
|
||||
# library extended with the imxyy library.
|
||||
|
||||
stdlib:
|
||||
|
||||
let
|
||||
mkMyLib = import ./.;
|
||||
in
|
||||
stdlib.extend (
|
||||
self: super: {
|
||||
my = mkMyLib { lib = self; };
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user