nixpkgs-suyu/pkgs/development/libraries/xlibs-wrapper/default.nix
kvtb 52f416d0d3
xlibsWrapper: preserve meta
`//` erases `meta` generated by `stdenv.mkDerivation`, in particular `meta.available`, which makes `meta.platform` declaration futile
2021-07-20 16:56:14 +00:00

21 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;
};
}