mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 12:22:10 +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; }
|