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>
8 lines
172 B
Bash
8 lines
172 B
Bash
source $stdenv/setup
|
|
|
|
configureFlags="-prefix $out $configureFlags"
|
|
genericBuild
|
|
|
|
#cd emacs/
|
|
#mkdir -p $out/share/ocaml/emacs
|
|
#make EMACSDIR=$out/share/ocaml/emacs install
|