1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/darwin/native-x11-and-opengl/default.nix

13 lines
253 B
Nix
Raw Normal View History

{ stdenv, writeScript }:
assert stdenv.isDarwin;
stdenv.mkDerivation rec {
name = "darwin-native-x11-and-opengl";
builder = writeScript "${name}-builder.sh" ''
/bin/mkdir -p $out
/bin/ln -sv /usr/X11/{bin,lib,include,share} $out/
'';
}