forked from mirrors/nixpkgs
52f416d0d3
`//` erases `meta` generated by `stdenv.mkDerivation`, in particular `meta.available`, which makes `meta.platform` declaration futile
22 lines
354 B
Nix
22 lines
354 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.
|
|
passthru.buildClientLibs = true;
|
|
|
|
meta = {
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|