mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
31 lines
588 B
Nix
31 lines
588 B
Nix
{stdenv, fetchurl, asdf, lisp ? null}:
|
|
stdenv.mkDerivation {
|
|
name = "cl-wrapper-script";
|
|
|
|
buildPhase="";
|
|
|
|
installPhase=''
|
|
mkdir -p "$out"/bin
|
|
cp ${./cl-wrapper.sh} "$out"/bin/cl-wrapper.sh
|
|
cp ${./common-lisp.sh} "$out"/bin/common-lisp.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];
|
|
};
|
|
}
|