shrub/nix/nixcrpkgs/pkgs/libxall/default.nix
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

16 lines
412 B
Nix

# Amalgamates all of our X libraries into one derivation to make it easier to
# build projects like Qt that expect them all to be installed in one place.
{ crossenv, libs }:
let
lib = crossenv.make_derivation {
name = "libxall";
builder.ruby = ./builder.rb;
inherit libs;
};
license_set = builtins.foldl' (x: y: x // y) {} (map (x: x.license_set) libs);
in
lib // { inherit license_set; }