[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28198] [PATCH 2/3] gnu: Add mongodb.
From: |
Ludovic Courtès |
Subject: |
[bug#28198] [PATCH 2/3] gnu: Add mongodb. |
Date: |
Wed, 04 Oct 2017 16:40:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Christopher Baines <address@hidden> skribis:
> * gnu/packages/databases.scm (mongodb): New variable.
[...]
> + (add-after 'unpack 'scons-propagate-environment
> + (lambda _
> + ;; Modify the SConstruct file to arrange for
> + ;; environment variables to be propagated.
> + (substitute* "SConstruct"
> + (("^env = Environment\\(")
> + "env = Environment(ENV=os.environ, "))))
> + (add-after 'unpack 'create-version-file
> + (lambda _
> + (call-with-output-file "version.json"
> + (lambda (port)
> + (display ,(simple-format #f "{
> + \"version\": \"~A\"
> +}" version) port)))))
These two should explicitly return #t.
OK with this change, thank you!
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#28198] [PATCH 2/3] gnu: Add mongodb.,
Ludovic Courtès <=