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();
}
ix/commit/gnu/packages/xorg.scm?id=53e445c4634b88342c3fb92aecf0a2eb503ffcd9'>gnu: libxscrnsaver: Propagate libx11 and libxext, as per pkg-config file....Raghav Gururajan 2021-07-08gnu: xvfb-run: Fix ‘xvfb-run --help’ in a pure environment....Maxime Devos 2021-06-28gnu: Add xkbprint....Tobias Geerinckx-Rice 2021-06-16gnu: xterm: Update to 368....Matthew James Kraai 2021-06-14gnu: Rename qtbase to qtbase-5....Maxim Cournoyer 2021-06-12gnu: xf86-video-intel: Update to 2.99.917-18.31486f4....Brice Waegeneire 2021-06-07gnu: xf86-video-vesa: Update to 2.5.0....Matthew James Kraai 2021-06-07gnu: xpra: Update to 4.2....Lars-Dominik Braun 2021-06-06gnu: xf86-input-libinput: Update to 1.0.1....Matthew James Kraai 2021-06-06gnu: xf86-input-libinput: Fix licence information....Tobias Geerinckx-Rice 2021-06-06gnu: xterm: Update to 367....Matthew James Kraai 2021-06-05gnu: console-setup: Update to 1.203....Tobias Geerinckx-Rice 2021-05-23gnu: libx11: Update replacement to 1.7.1 [fixes CVE-2021-31535]....Marius Bakke 2021-04-27gnu: xorg-server: Update to 1.20.11 [fixes CVE-2021-3472]....nixo 2021-03-17gnu: Use PACKAGE/INHERIT in more places....Mark H Weaver 2021-03-15gnu: xterm: Fix uxterm in pure environments....Tobias Geerinckx-Rice 2021-03-13gnu: console-setup: Update to 1.201....Tobias Geerinckx-Rice 2021-03-11gnu: libx11: Update to 1.6.12 [fixes CVE-2020-14363]....Léo Le Bouter 2021-03-09gnu: xvfb-run: Fix syntax error....Ludovic Courtès 2021-03-09gnu: xvfb-run: Add man page licence....Tobias Geerinckx-Rice 2021-03-09gnu: Add xvfb-run....Tobias Geerinckx-Rice 2021-03-07gnu: xf86-video-nouveau: Update to 1.0.17....Tobias Geerinckx-Rice 2021-02-12gnu: xterm: Update to 366 [fixes CVE-2021-27135]....Leo Famulari 2021-01-25Merge branch 'master' into stagingLeo Famulari 2021-01-19gnu: xpra: Add more encoding options....Michael Rohleder 2021-01-19gnu: xpra: Update to 4.0.6....Michael Rohleder 2021-01-10Merge branch 'master' into stagingEfraim Flashner 2021-01-03gnu: xterm: Update to 363....Tobias Geerinckx-Rice 2020-12-21Merge branch 'ungrafting' into stagingMarius Bakke 2020-12-21Merge branch 'master' into ungraftingMarius Bakke 2020-12-20gnu: xcb-util-errors: Build with Python 3....Marius Bakke 2020-12-13gnu: xprop: Update to 1.2.5....Marius Bakke 2020-12-13gnu: xkbcomp: Update to 1.4.4....Marius Bakke 2020-12-13gnu: xorg-server-for-tests: Update to 1.20.10....Marius Bakke 2020-12-08gnu: libx11: Update to 1.6.10 and remove replacement....Ludovic Courtès 2020-12-01gnu: xorg-server: Update to 1.20.10 [fixes CVE-2020-14360, CVE-2020-25712]....Marius Bakke 2020-11-26Merge branch 'master' into stagingMarius Bakke 2020-11-26gnu: xf86-video-intel: Update to 2.99.917-17.ad5540f....Marius Bakke 2020-11-22Merge branch 'master' into stagingMarius Bakke 2020-11-21gnu: xpra: Update to 4.0.5....Tobias Geerinckx-Rice 2020-11-19Merge branch 'master' into stagingMarius Bakke 2020-11-16gnu: xterm: Update to 362....Tobias Geerinckx-Rice 2020-11-16gnu: xterm: Download source over HTTPS....Tobias Geerinckx-Rice