Permalink
Commits on May 29, 2017
  1. Fix nix-copy-closure test

    Fixes
    
      client# error: size mismatch importing path ‘/nix/store/ywf5fihjlxwijm6ygh6s0a353b5yvq4d-libidn2-0.16’; expected 0, got 120264
    
    This is mostly an artifact of the NixOS VM test environment, where the
    Nix database doesn't contain hashes/sizes.
    
    http://hydra.nixos.org/build/53537471
    edolstra committed May 29, 2017
  2. Fix typo

    edolstra committed May 29, 2017
  3. Merge pull request #1393 from pyrtsa/patch-1

    Fix variable name typo in derivations doc
    edolstra committed on GitHub May 29, 2017
  4. Merge pull request #1394 from pyrtsa/patch-2

    Remove stray `>` in builtins doc
    edolstra committed on GitHub May 29, 2017
Commits on May 28, 2017
  1. Remove stray `>` in builtins doc

    pyrtsa committed on GitHub May 28, 2017
  2. Fix variable name typo in derivations doc

    pyrtsa committed on GitHub May 28, 2017
Commits on May 24, 2017
  1. Fix #1314

    Also, make nix-shell respect --option. (Previously it only passed it
    along to nix-instantiate and nix-build.)
    edolstra committed May 24, 2017
  2. Merge pull request #1376 from Mic92/patch-1

    nix-profile.sh: remove sbin from PATH
    edolstra committed on GitHub May 24, 2017
  3. Fix #1380

    It lacked a backslash. Use a raw string and single quotes around PS1
    to simplify this.
    edolstra committed May 24, 2017
  4. Merge pull request #1382 from FRidh/patch-1

    Document fetchTarball can take a sha256
    edolstra committed on GitHub May 24, 2017
Commits on May 17, 2017
Commits on May 16, 2017
  1. Improve progress indicator

    edolstra committed May 16, 2017
Commits on May 15, 2017
  1. nar-accessor: non-recursive NarMember::find

    This avoids a possible stack overflow if directories are very deeply nested.
    bennofs committed May 15, 2017
  2. Simplify fixed-output check

    edolstra committed May 15, 2017
  3. Add --with-sandbox-shell configure flag

    And add a 116 KiB ash shell from busybox to the release build. This
    helps to make sandbox builds work out of the box on non-NixOS systems
    and with diverted stores.
    edolstra committed May 15, 2017
  4. Linux sandbox: Don't barf on invalid paths

    This is useful when we're using a diverted store (e.g. "--store
    local?root=/tmp/nix") in conjunction with a statically-linked sh from
    the host store (e.g. "sandbox-paths =/bin/sh=/nix/store/.../bin/busybox").
    edolstra committed May 15, 2017
  5. Make fmt() non-recursive

    edolstra committed May 11, 2017
  6. Merge pull request #1387 from bennofs/nix-ls-slash

    nix ls: support '/' for the root directory
    edolstra committed on GitHub May 15, 2017
  7. nar-accessor: use tree, fixes readDirectory missing children

    Previously, if a directory `foo` existed and a file `foo-` (where `-` is any character that is sorted before `/`), then  `readDirectory` would return an empty list.
    
    To fix this, we now use a tree where we can just access the children of the node, and do not need to rely on sorting behavior to list the contents of a directory.
    bennofs committed May 15, 2017
Commits on May 11, 2017
  1. Add an option for extending the user agent header

    This is useful e.g. for distinguishing traffic to a binary cache
    (e.g. certain machines can use a different tag in the user agent).
    edolstra committed May 11, 2017
  2. Fix typo

    edolstra committed May 11, 2017
  3. Tweak error message

    edolstra committed May 11, 2017
  4. Don't allow untrusted users to set info.ultimate

    Note that a trusted signature was still required in this case so it
    was not a huge deal.
    edolstra committed May 11, 2017
  5. Document fetchTarball can take a sha256

    Note that I refer to `nix-prefetch-url`.
    FRidh committed on GitHub May 11, 2017
  6. Change the meaning of info.ultimate

    It now means "paths that were built locally". It no longer includes
    paths that were added locally. For those we don't need info.ultimate,
    since we have the content-addressability assertion (info.ca).
    edolstra committed May 11, 2017
  7. LocalStore::addToStore(): Check info.narSize

    It allowed the client to specify bogus narSize values. In particular,
    Downloader::downloadCached wasn't setting narSize at all.
    edolstra committed May 11, 2017