mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
13 lines
253 B
Nix
13 lines
253 B
Nix
|
{ 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/
|
||
|
'';
|
||
|
}
|