1
0
Fork 0
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:
Ivan Babrou 2020-12-10 20:46:38 -08:00
parent 6aeb856c56
commit 0c16c18599
4 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -1,5 +1,5 @@
{ {
packageOverrides = pkgs: { packageOverrides = pkgs: {
graphviz = pkgs.graphviz.override { xlibs = null; }; graphviz = pkgs.graphviz.override { xorg = null; };
}; };
} }

View file

@ -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; }

View file

@ -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)