1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
This commit is contained in:
Alex Leferry 2 2018-09-19 21:37:25 +02:00 committed by GitHub
parent 30ec55ae80
commit d3f6c61e1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@
<section>
<title>Overriding a package</title>
<para>
I recall the override design pattern from the <link linkend="override-design-pattern">nix pill 14</link>. Instad of calling a function with parameters directly, we make the call (function + parameters) overridable.
I recall the override design pattern from the <link linkend="override-design-pattern">nix pill 14</link>. Instead of calling a function with parameters directly, we make the call (function + parameters) overridable.
</para>
<para>
We put the override function in the returned attribute set of the original function call.