mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
libXmu: Split into multiple outputs
We need to override BITMAPDIR, since the default: -DBITMAPDIR=\"$(includedir)/X11/bitmaps\" would cause cycles between the outputs. Setting it to a nonexistent path doesn't affect the code logic, since the corresponding single-output directory $out/include/X11/bitmaps doesn't exist either. (cherry picked from commit 15007c88108d9c6a3bc82b22eff53175bbddf75e)
This commit is contained in:
parent
2f7568e092
commit
753cfbe09b
@ -185,6 +185,11 @@ in
|
||||
outputs = [ "dev" "out" "man" ];
|
||||
};
|
||||
|
||||
libXmu = attrs: attrs // {
|
||||
outputs = [ "dev" "out" "doc" ];
|
||||
buildFlags = ''BITMAP_DEFINES=-DBITMAPDIR=\"/no-such-path\"'';
|
||||
};
|
||||
|
||||
libXrandr = attrs: attrs // {
|
||||
outputs = [ "dev" "out" "man" ];
|
||||
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
||||
|
Loading…
Reference in New Issue
Block a user