forked from mirrors/nixpkgs
22 lines
351 B
Nix
22 lines
351 B
Nix
{lib, 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 = lib.platforms.unix;
|
|
};
|
|
}
|