1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00

Pill 17: fix graphviz xorg override

In the current version of nix, overriding `xorg = null;`
no longer seems to work; overriding the `withXorg` attribute
allows it to pass instead.
This commit is contained in:
Misty De Méo 2023-03-30 17:16:27 -07:00
parent f117b0a060
commit 175f64b37d
No known key found for this signature in database
GPG key ID: 74CF3AD781D5453D
3 changed files with 3 additions and 3 deletions

View file

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

View file

@ -1,4 +1,4 @@
$ nix repl
nix-repl> :l <nixpkgs>
Added 4360 variables.
nix-repl> :b graphviz.override { xorg = null; }
nix-repl> :b graphviz.override { withXorg = false; }

View file

@ -1,3 +1,3 @@
pkgs = import <nixpkgs> {};
pkgs.graphviz = pkgs.graphviz.override { xorg = null; };
pkgs.graphviz = pkgs.graphviz.override { withXorg = false; };
build(pkgs.P)