https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
6 lines
212 B
Bash
6 lines
212 B
Bash
preInstall() {
|
|
mkdir -p $out/lib/X11/config
|
|
ln -s $xorgcffiles/lib/X11/config/* $out/lib/X11/config
|
|
#touch $out/lib/X11/config/host.def # !!! hack
|
|
#touch $out/lib/X11/config/date.def # !!! hack
|
|
}
|