aboutsummaryrefslogtreecommitdiff
/* GNU Guix --- Functional package management for GNU
   Copyright (C) 2016, 2017 Ludovic Courtès <ludo@gnu.org>

   This file is part of GNU Guix.

   GNU Guix is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or (at
   your option) any later version.

   GNU Guix is distributed in the hope that it will be useful, but
   WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.  */

/* Interface to built-in derivation builders.  */

#pragma once

#include <derivations.hh>
#include <map>
#include <string>

namespace nix {

    inline bool isBuiltin(const Derivation & drv)
    {
	return string(drv.builder, 0, 8) == "builtin:";
    }

    /* Build DRV, which lives at DRVPATH.  */
    typedef void (*derivationBuilder) (const Derivation &drv,
				       const std::string &drvPath,
				       const std::string &output);

    /* Return the built-in builder called BUILDER, or NULL if none was
       found.  */
    derivationBuilder lookupBuiltinBuilder(const std::string &builder);

    /* Return the list of supported built-in builder names.  */
    std::list<std::string> builtinBuilderNames();
}
21:13:25 +0300'>2020-06-02gnu: libreoffice: Update to 4.4.2.2.Efraim Flashner * gnu/packages/libreoffice.scm (libreoffice): Update to 4.4.2.2. [arguments]: Remove unrecognized configure-flag. 2020-04-03gnu: libreoffice: Fix build with Poppler 0.86.Marius Bakke * gnu/packages/patches/libreoffice-poppler-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/libreoffice.scm (libreoffice)[source](patches): New field. 2020-03-30Merge branch 'master' into core-updatesMarius Bakke Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/guile.scm gnu/packages/linux.scm gnu/packages/package-management.scm gnu/packages/pulseaudio.scm gnu/packages/web.scm 2020-03-29gnu: libreoffice: Update to 6.4.2.2.Marius Bakke * gnu/packages/libreoffice.scm (libreoffice): Update to 6.4.2.2. 2020-03-21Merge branch 'master' into core-updatesMarius Bakke 2020-03-21gnu: Use ‘license:’ prefix in (gnu packages libreoffice).Tobias Geerinckx-Rice * gnu/packages/libreoffice.scm: Import (guix licenses) with a #:prefix and adjust all callers. 2020-03-18Merge branch 'master' into core-updatesMarius Bakke 2020-03-14gnu: LibreOffice: Update to 6.4.1.2.Leo Famulari * gnu/packages/libreoffice.scm (libreoffice): Update to 6.4.1.2. 2020-03-04Merge branch 'master' into core-updatesMarius Bakke 2020-02-22gnu: Add unoconv.Tobias Geerinckx-Rice * gnu/packages/libreoffice.scm (unoconv): New public variable. Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net> 2020-02-21gnu: libreoffice: Fix ‘soffice’ in a pure environment.Tobias Geerinckx-Rice * gnu/packages/libreoffice.scm (libreoffice)[arguments]: Refer to grep and coreutils by absolute file name in the soffice launcher script. 2020-02-17gnu: librevenge: Don't use NAME in source URI.Tobias Geerinckx-Rice * gnu/packages/libreoffice.scm (librevenge)[source]: Hard-code NAME. 2020-02-17gnu: orcus: Don't use NAME in source URI.Tobias Geerinckx-Rice * gnu/packages/libreoffice.scm (orcus)[source]: Hard-code NAME. 2020-02-17gnu: liblangtag: Update to 0.6.3.Tobias Geerinckx-Rice * gnu/packages/libreoffice.scm (liblangtag): Update to 0.6.3. 2020-02-17gnu: liblangtag: Don't use NAME in source URI.Tobias Geerinckx-Rice * gnu/packages/libreoffice.scm (liblangtag)[source]: Hard-code NAME. 2020-02-14Merge branch 'master' into core-updatesMarius Bakke 2020-02-13gnu: LibreOffice: Update to 6.4.0.3.Leo Famulari * gnu/packages/libreoffice.scm (libreoffice): Update to 6.4.0.3. [inputs]: Add qrcodegen-cpp. [source]: Remove obsolete patches and substitutions. * gnu/packages/patches/libreoffice-glm.patch, gnu/packages/patches/libreoffice-icu.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Remove them. 2020-02-13gnu: libetonyek: Update MDDS requirement.Leo Famulari * gnu/packages/libreoffice.scm (libetonyek): Put '--with-mdds-1.5' in #:configure-flags. 2020-02-13gnu: orcus: Update to 0.15.3.Leo Famulari * gnu/packages/libreoffice.scm (orcus): Update to 0.15.3. 2020-02-13gnu: ixion: Update to 0.15.0.Leo Famulari * gnu/packages/libreoffice.scm (ixion): Update to 0.15.0. [inputs]: Add spdlog. 2020-02-05gnu: libcdr: Update to 0.1.6.Marius Bakke * gnu/packages/libreoffice.scm (libcdr): Update to 0.1.6. 2020-01-21Merge branch 'staging' into core-updatesMarius Bakke 2020-01-15gnu: python-lxml: Move to (gnu packages xml).Marius Bakke * gnu/packages/python-xyz.scm (python-lxml): Move from here ... * gnu/packages/xml.scm (python-lxml): ... to here. * gnu/packages/django.scm, gnu/packages/drones.scm, gnu/packages/libreoffice.scm, gnu/packages/nutrition.scm, gnu/packages/openstack.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-science.scm, gnu/packages/tryton.scm, gnu/packages/wireservice.scm: Adjust module imports. 2020-01-08gnu: libfreehand: Fix build with ICU 65.Marius Bakke * gnu/packages/libreoffice.scm (libfreehand)[arguments]: New field. 2019-12-16gnu: libreoffice: Update to 6.3.4.2.Efraim Flashner * gnu/packages/libreoffice.scm (libreoffice): Update to 6.3.4.2.