Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 03ad033f970b
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: c5c5465fe4c8
Choose a head ref
  • 4 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 4, 2019

  1. pkgs/build-support/trivial-builders: add runCommandLocal

    A definition I’ve been copy-pasting everywhere so far, so it’s finally
    time to add it to nixpkgs.
    
    I’m using a remote builder for my regular nix builds, so trivial
    `runCommand`s which first try a substitution and then copy the inputs
    to the builder to run for 0.2s are quite noticable.
    
    If we just always build these, we gain some build time, so let’s make
    it easy to switch from remote to local.
    Profpatsch committed Dec 4, 2019
    Copy the full SHA
    8deaf41 View commit details
    Browse the repository at this point in the history
  2. doc/builders/trivial-builders: added runCommandLocal docs

    The link in the note points to the `id` added in
    NixOS/nix#3255, so it might take some time to
    start working correctly.
    Profpatsch committed Dec 4, 2019
    Copy the full SHA
    faa3e54 View commit details
    Browse the repository at this point in the history
  3. doc/builders: add ids to the trivial builder definitions

    This makes it possible to reference single function definitions,
    for pointing people to their exact definition.
    Profpatsch committed Dec 4, 2019
    Copy the full SHA
    64bfaad View commit details
    Browse the repository at this point in the history
  4. pkgs/build-support/trivial-builders: remove runCommandCCLocal

    We shouldn’t force the user to have a C compiler in scope, just
    because the derivation is forced to build locally. That can’t be
    counted as “lightweight” anymore.
    
    Co-Authored-By: Silvan Mosberger<contact@infinisil.com>
    Profpatsch committed Dec 4, 2019
    Copy the full SHA
    c5c5465 View commit details
    Browse the repository at this point in the history