mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
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;
|
|
};
|
|
}
|