diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2021-03-28 23:55:54 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2021-03-28 23:55:54 +0200 |
commit | 331bfb7e2b743369127779cab122138ad59810b5 (patch) | |
tree | dc5e5975314a685c115eac3942121a3796666441 /pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb | |
parent | be2cb0796390205701ad69f7e0e775f8cc1b9187 (diff) |
quick-lisp-to-nix: change template to use more double-quotes
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb')
-rw-r--r-- | pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb b/pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb index ac3387d7b6d55..6b0940ba55a64 100644 --- a/pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb +++ b/pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb @@ -1,17 +1,18 @@ +/* Generated file. */ args @ { fetchurl, ... }: rec { - baseName = ''<% @var filename %>''; - version = ''<% @var version %>'';<% @if parasites %> + baseName = "<% @var filename %>"; + version = "<% @var version %>";<% @if parasites %> parasites = [<% (dolist (p (getf env :parasites)) (format t " \"~A\"" p)) %> ];<% @endif %> - description = ''<% @var description %>''; + description = <%= (format nil "~s" (cl-emb::getf-emb "description")) %>; deps = [ <% @loop deps %>args."<% @var filename %>" <% @endloop %>]; src = fetchurl { - url = ''<% @var url %>''; - sha256 = ''<% @var sha256 %>''; + url = "<% @var url %>"; + sha256 = "<% @var sha256 %>"; }; packageName = "<% @var name %>"; |