mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00: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;
|
|
};
|
|
}
|