forked from mirrors/nixpkgs
2258b21e4b
Build-tested on x86_64 Linux and on Darwin.
22 lines
353 B
Nix
22 lines
353 B
Nix
{stdenv, packages}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "xlibs-wrapper";
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = "mkdir -p $out";
|
|
unpackPhase = "sourceRoot=.";
|
|
|
|
propagatedBuildInputs = packages;
|
|
|
|
preferLocalBuild = true;
|
|
} // {
|
|
# For compatability with XFree86.
|
|
buildClientLibs = true;
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|