mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
Update pill 17 with xlib -> xorg
This commit is contained in:
parent
6aeb856c56
commit
0c16c18599
|
@ -20,7 +20,7 @@
|
||||||
We put the override function in the returned attribute set of the original function call.
|
We put the override function in the returned attribute set of the original function call.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Take for example <package>graphviz</package>. It has an input parameter <package>xlibs</package>. If it's null, then <package>graphviz</package> will build without X support.
|
Take for example <package>graphviz</package>. It has an input parameter <package>xorg</package>. If it's null, then <package>graphviz</package> will build without X support.
|
||||||
</para>
|
</para>
|
||||||
<screen><xi:include href="./17/graphviz-override.txt" parse="text" /></screen>
|
<screen><xi:include href="./17/graphviz-override.txt" parse="text" /></screen>
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
packageOverrides = pkgs: {
|
packageOverrides = pkgs: {
|
||||||
graphviz = pkgs.graphviz.override { xlibs = null; };
|
graphviz = pkgs.graphviz.override { xorg = null; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$ nix-repl
|
$ nix-repl
|
||||||
nix-repl> :l <nixpkgs>
|
nix-repl> :l <nixpkgs>
|
||||||
Added 4360 variables.
|
Added 4360 variables.
|
||||||
nix-repl> :b graphviz.override { xlibs = null; }
|
nix-repl> :b graphviz.override { xorg = null; }
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
pkgs = import <nixpkgs> {};
|
pkgs = import <nixpkgs> {};
|
||||||
pkgs.graphviz = pkgs.graphviz.override { xlibs = null; };
|
pkgs.graphviz = pkgs.graphviz.override { xorg = null; };
|
||||||
build(pkgs.P)
|
build(pkgs.P)
|
||||||
|
|
Loading…
Reference in a new issue