1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/lisp-modules/clwrapper/default.nix

32 lines
686 B
Nix
Raw Normal View History

{stdenv, fetchurl, asdf, lisp ? null}:
stdenv.mkDerivation {
name = "cl-wrapper-script";
buildPhase="";
installPhase=''
mkdir -p "$out"/bin
substituteAll ${./common-lisp.sh} "$out"/bin/common-lisp.sh
2014-11-14 12:28:54 +00:00
substituteAll "${./build-with-lisp.sh}" "$out/bin/build-with-lisp.sh"
2015-04-14 09:51:19 +01:00
substituteAll "${./cl-wrapper.sh}" "$out/bin/cl-wrapper.sh"
chmod a+x "$out"/bin/*
'';
inherit asdf lisp;
setupHook = ./setup-hook.sh;
phases="installPhase fixupPhase";
preferLocalBuild = true;
passthru = {
inherit lisp;
};
meta = {
description = ''Script used to wrap Common Lisp implementations'';
maintainers = [stdenv.lib.maintainers.raskin];
};
}