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/quicklisp-to-nix/nix-package.emb
2017-03-30 22:55:26 +02:00

22 lines
617 B
Plaintext

args @ { fetchurl, ... }:
rec {
baseName = ''<% @var filename %>'';
version = ''<% @var version %>'';
description = ''<% @var description %>'';
deps = [ <% @loop deps %>args."<% @var name %>" <% @endloop %>];
src = fetchurl {
url = ''<% @var url %>'';
sha256 = ''<% @var sha256 %>'';
};
overrides = x: {
postInstall = ''
echo "$CL_SOURCE_REGISTRY"
NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(asdf:load-system :<% @ifnotempty testname %><% @var testname %><% @else %><% @var name %><% @endif %>)"' "$out/bin/<% @var filename %>-lisp-launcher.sh" ""
'';
};
}