mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 02:11:38 +03:00
16 lines
412 B
Nix
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; }
|