aboutsummaryrefslogtreecommitdiff
#pragma once

#include "derivations.hh"


namespace nix {


/* Read a derivation, after ensuring its existence through
   ensurePath(). */
Derivation derivationFromPath(StoreAPI & store, const Path & drvPath);

/* Place in `paths' the set of all store paths in the file system
   closure of `storePath'; that is, all paths than can be directly or
   indirectly reached from it.  `paths' is not cleared.  If
   `flipDirection' is true, the set of paths that can reach
   `storePath' is returned; that is, the closures under the
   `referrers' relation instead of the `references' relation is
   returned. */
void computeFSClosure(StoreAPI & store, const Path & path,
    PathSet & paths, bool flipDirection = false,
    bool includeOutputs = false, bool includeDerivers = false);

bool willBuildLocally(const Derivation & drv);

bool substitutesAllowed(const Derivation & drv);


}
class='msg-avail'>...* gnu/packages/video.scm (mlt)[arguments]: Use gexps. Add 'wrap-executable phase. [inputs]: Add bash-minimal. Vinicius Monego 2022-02-16gnu: gallery-dl: Fix typo in description....* gnu/packages/video.scm (gallery-dl)[description]: Fix typo. Leo Famulari 2022-02-16gnu: gallery-dl: Update to 1.20.5....* gnu/packages/video.scm (gallery-dl): Update to 1.20.5. Signed-off-by: Leo Famulari <leo@famulari.name> Jai Vetrivelan 2022-02-15gnu: yt-dlp: Update to 2022.02.04....* gnu/packages/video.scm (yt-dlp): Update to 2022.02.04. Leo Famulari 2022-02-15gnu: transcode: Simplify inputs....* gnu/packages/video.scm (transcode): Simplify inputs. Marius Bakke 2022-02-15gnu: Remove unneeded uses of 'libiconv'....iconv is part of glibc, there is no need to add it as input. * gnu/packages/accessibility.scm (brltty)[inputs]: Remove LIBICONV. * gnu/packages/compression.scm (innoextract)[inputs]: Likewise. * gnu/packages/haskell-apps.scm (darcs)[inputs]: Likewise. * gnu/packages/kde-multimedia.scm (k3b)[inputs]: Likewise. * gnu/packages/linphone.scm (liblinphone)[inputs]: Likewise. * gnu/packages/mail.scm (mailutils)[inputs]: Likewise. * gnu/packages/maths.scm (libqalculate)[inputs]: Likewise. * gnu/packages/pep.scm (pep-engine)[inputs]: Likewise. * gnu/packages/vim.scm (neovim)[inputs]: Likewise. * gnu/packages/wget.scm (wget2)[inputs]: Likewise. * gnu/packages/telegram.scm (telegram-desktop)[inputs]: Likewise. * gnu/packages/video.scm (transcode)[native-inputs]: Likewise. Marius Bakke 2022-02-11gnu: rav1e: Remove input labels....* gnu/packages/video.scm (rav1e)[native-inputs]: Remove labels. Marius Bakke 2022-02-11gnu: rav1e: Omit static library....* gnu/packages/video.scm (rav1e)[arguments]: Add phase. Marius Bakke 2022-02-08gnu: gallery-dl: Update to 1.20.3....* gnu/packages/video.scm (gallery-dl): Update to 1.20.3. Signed-off-by: Julien Lepiller <julien@lepiller.eu> Jai Vetrivelan 2022-02-07gnu: libx264: Fix building on riscv64-linux....* gnu/packages/video.scm (libx264)[inputs]: Add config. [arguments]: Adjust configure-flags to always build PIC code. Add custom phase to replace config.guess, config.sub scripts. Efraim Flashner 2022-01-31gnu: OBS: Use new package style....* gnu/packages/video.scm (obs): Use new package style. Signed-off-by: Leo Famulari <leo@famulari.name> Andrew Tropin 2022-01-31gnu: shotcut: Update to 22.01.30....* gnu/packages/video.scm (shotcut): Update to 22.01.30. Vinicius Monego 2022-01-28gnu: obs: Update to 27.1.3....* gnu/packages/video.scm (obs): Update to 27.1.3. Signed-off-by: Leo Famulari <leo@famulari.name> Andrew Tropin 2022-01-25Add copyright notice for 'Bird'....This is a followup to commit cc74d19d663b78a9ec8207d7e3a41cabfbe1a100. * gnu/packages/video.scm: Add copyright attribution. Leo Famulari 2022-01-25gnu: Add gallery-dl....* gnu/packages/video.scm (gallery-dl): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> Bird 2022-01-25gnu: youtube-dl: Add release-monitoring-url....* gnu/packages/video.scm (youtube-dl)[properties]: New field. Efraim Flashner 2022-01-25gnu: yt-dlp: Add release-monitoring-url....* gnu/packages/video.scm (yt-dlp)[properties]: New field. Efraim Flashner 2022-01-23gnu: vlc: Build with correct librsvg....* gnu/packages/video.scm (vlc)[inputs]: Replace librsvg with librsvg-for-system. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Denis 'GNUtoo' Carikli 2022-01-22gnu: svt-av1: Update to 0.9.0....* gnu/packages/video.scm (svt-av1): Update to 0.9.0. Leo Famulari 2022-01-19gnu: transcode: Fix typo in description....* gnu/packages/video.scm (transcode)[description]: Fix typo. Leo Famulari 2022-01-18gnu: pitivi: Make Python a regular input....The built package does keep a reference to Python. This is a followup to commit 10be314cd8ac76d7a58f5ad4fcf3365cdd161234. * gnu/packages/video.scm (pitivi)[native-inputs]: Move PYTHON ... [inputs]: ... to here. Leo Famulari 2022-01-17gnu: pitivi: Add python to native-inputs....Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer propagates Python. * gnu/packages/video.scm (pitivi)[native-inputs]: Add python. Leo Famulari 2022-01-17gnu: libvpx: Update to 1.11.0....* gnu/packages/video.scm (libvpx): Update to 1.11.0. Marius Bakke 2022-01-17Merge branch 'version-1.4.0'...With resolved conflicts in: gnu/packages/gnome.scm gnu/packages/openstack.scm gnu/packages/python-xyz.scm Maxim Cournoyer 2022-01-10gnu: rav1e: Update to 0.5.1; also update rust-aom-sys to 0.3.0....* gnu/packages/crates-graphics.scm (rust-aom-sys-0.2): Rename to... (rust-aom-sys-0.3): ... this, updating to 0.3.0. (rust-aom-sys-0.1): Delete unused variable. * gnu/packages/video.scm (rav1e): Update to 0.5.1. [cargo-test-flags]: New argument. [cargo-inputs]: Add rust-aom-sys-0.3. Update rust-arrayvec and rust-av-metrics to 0.7. Update rust-rustc-version to 0.4. Update rust-dav1d-sys to 0.3.4. [cargo-development-inputs]: Update rust-assert-cmd to 2. Update rust-pretty-assertions to 0.7. Update rust-semver to 1. [phases]{relax-versions}: New phase. Maxim Cournoyer 2022-01-10gnu: Remove meson-0.59 workarounds....Mostly automated with the following command: $ grep --include='*.scm' '#:meson ,meson-0.59' -rl \ | xargs sed -z 's/#:meson[^\n]*\s*//' -i * gnu/packages/freedesktop.scm (malcontent) (accountsservice): Delete #:meson argument. * gnu/packages/games.scm (gnome-2048): Likewise. * gnu/packages/geo.scm (gnome-maps): Likewise. * gnu/packages/gnome.scm (gnome-photos, gnome-music) (gnome-initial-setup, gnome-user-share, gnome-characters) (gnome-disk-utility, gnome-font-viewer, evince, glade3) (gnome-mines, gnome-sudoku, gnome-settings-daemon, devhelp) (totem, eog, gvfs, simple-scan, epiphany, gnome-session, gedit) (network-manager-applet, gnome-control-center, gnome-shell, nautilus) (gnome-default-applications, gnome-weather, gnome-tweaks, cheese, gthumb) (gitg, polari, gnome-boxes, gtranslator): Likewise. * gnu/packages/gtk.scm: (gtkmm-3): Likewise. * gnu/packages/pdf.scm (zathura): Likewise. * gnu/packages/photo.scm (entangle): Likewise. * gnu/packages/video.scm (pitivi): Likewise. * gnu/packages/virtualization.scm (libvirt-glib): Likewise. Maxim Cournoyer 2022-01-11gnu: handbrake: Update to 1.5.1....* gnu/packages/video.scm (handbrake): Update to 1.5.1. Signed-off-by: Leo Famulari <leo@famulari.name> Vinicius Monego 2022-01-07gnu: youtube-dl: Update to 2021.12.17....* gnu/packages/video.scm (youtube-dl): Update to 2021.12.17. [source, arguments]: Don't explicitly return #t from snippet or phases. Tobias Geerinckx-Rice 2022-01-04gnu: mpv: Update to 0.34.1....* gnu/packages/video.scm (mpv): Update to 0.34.1. Tobias Geerinckx-Rice 2021-12-28gnu: Import missing module in (gnu packages video)....This is a followup to commit b1548937e9622271ed407200ad2cd2118729588e. * gnu/packages/video.scm: Import (gnu packages llvm). Leo Famulari 2021-12-28gnu: Add rust-dav1d-sys-0.3.2....* gnu/packages/video.scm (rust-dav1d-sys-0.3.2): New variable. Nicolas Goaziou 2021-12-27gnu: mjpegtools: Update to 2.2.1....Note: due to a copied source hash, mjpegtools 2.1.0 was actually just libmms. * gnu/packages/video.scm (mjpegtools): Update to 2.2.1. [inputs]: Add libjpeg-turbo. [native-inputs]: Add pkg-config. Ricardo Wurmus 2021-12-26gnu: shotcut: Adjust environment variables in 'wrap-program....* gnu/packages/video.scm (shotcut)[arguments]<#:phases>: In the 'wrap-program phase, wrap LADSPA_PATH, don't wrap MLT_PREFIX, remove trailing slash from FREI0R_PATH, remove ffmpeg and add mlt to PATH. Signed-off-by: Leo Famulari <leo@famulari.name> Vinicius Monego 2021-12-26gnu: shotcut: Find ffmpeg and mlt at runtime....* gnu/packages/video.scm (shotcut)[arguments]<:#phases>: Add phase 'patch-executable-paths to use full store paths for ffmpeg and mlt. Signed-off-by: Leo Famulari <leo@famulari.name> Vinicius Monego 2021-12-26gnu: shotcut: Satisfy guix lint....* gnu/packages/video.scm (shotcut)[native-inputs]: Rename 'python-wrapper' label to match it's package name. [inputs]: Add bash-minimal because 'wrap-program' is used. Brice Waegeneire 2021-12-26gnu: shotcut: Update to 21.12.24....* gnu/packages/video.scm (shotcut): Update to 21.12.24. Vinicius Monego