Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 22, 2015
  1. @edolstra

    Build on Ubuntu 15.04

    edolstra authored
  2. @edolstra

    Fix import-from-derivation in restricted eval mode

    edolstra authored
    This relaxes restricted mode to allow access to anything in the
    store. In the future, it would be better to allow access to only paths
    that have been constructed in the current evaluation (so a hard-coded
    /nix/store/blabla in a Nix expression would still be
    rejected). However, note that reading /nix/store itself is still
    rejected, so you can't use this so get access to things you don't know
    about.
  3. @edolstra

    Remove dead code

    edolstra authored
Commits on May 21, 2015
  1. @edolstra
  2. @edolstra

    nix-collect-garbage: Don't call nix-env

    edolstra authored
    Also, make sure --delete-older-than doesn't delete the current
    generation.
  3. @edolstra
  4. @edolstra
  5. @edolstra

    nix-collect-garbage: Don't barf on unreadable directories

    edolstra authored
    And don't try to delete generations from unwritable directories.
  6. @edolstra
  7. @edolstra
Commits on May 20, 2015
  1. @ctheune
Commits on May 19, 2015
  1. @ctheune

    Implement alternative to lazy generations:

    ctheune authored
    * only the last generation can be lazy
    * depend on the '--lazy-generation' flag to be set
  2. @edolstra

    Don't install nix-worker symlink

    edolstra authored
    It has been obsolete since Nix 1.2.
    
    Closes #417.
  3. @edolstra
  4. @phunehehe @edolstra

    point to https://nixos.org/wiki/Vim_configuration instead

    phunehehe authored edolstra committed
  5. @cstrahan @edolstra

    nix-env: document --set option

    cstrahan authored edolstra committed
Commits on May 18, 2015
  1. @ctheune

    Enable lazy/sparse allocation of generation symlinks: avoid creating

    ctheune authored
    new generations if a generation already exists.
    
    Alternatively or additionally I propose a mode where only the *last* generation will be sparse.
Commits on May 13, 2015
  1. @edolstra
  2. @edolstra

    Merge pull request #537 from garbas/master

    edolstra authored
    cygwin fixes
  3. @garbas
  4. @garbas
Commits on May 12, 2015
  1. @shlevy
Commits on May 6, 2015
  1. @lethalman
  2. @edolstra

    nix-env/nix-instantiate/nix-build: Support URIs

    edolstra authored
    For instance, you can install Firefox from a specific Nixpkgs revision
    like this:
    
      $ nix-env -f https://github.com/NixOS/nixpkgs/archive/63def04891a0abc328b1b0b3a78ec02c58f48583.tar.gz -iA firefox
    
    Or build a package from the latest nixpkgs-unstable channel:
    
      $ nix-build https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz -A hello
  3. @wkennington @edolstra

    nix-collect-garbage: Fix deleting old generations

    wkennington authored edolstra committed
    The call to nix-env expects a string which represents how old the
    derivations are or just "old" which means any generations other than
    the current one in use. Currently nix-collect-garbage passes an empty
    string to nix-env when using the -d option. This patch corrects the call
    to nix-env such that it follows the old behavior.
Commits on May 5, 2015
  1. @edolstra

    Allow URLs in the Nix search path

    edolstra authored
    E.g. to install "hello" from the latest Nixpkgs:
    
      $ nix-build '<nixpkgs>' -A hello -I nixpkgs=https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz
    
    Or to install a specific version of NixOS:
    
      $ nixos-rebuild switch -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/63def04891a0abc328b1b0b3a78ec02c58f48583.tar.gz
  2. @edolstra

    Make downloads interruptable

    edolstra authored
  3. @edolstra
Commits on Apr 29, 2015
  1. @aszlig

    tests: Fix wrong channel name in nix-channel.sh.

    aszlig authored
    The $channelName variable passed to the channel builder is the last
    portion of the URL and while that works in the previous test for
    channels prior to #519, it doesn't work if the last portion is
    nixexprs.tar.bz2.
    
    Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Commits on Apr 27, 2015
  1. @shlevy
Commits on Apr 22, 2015
  1. @edolstra

    Merge pull request #522 from lethalman/nix-collect-garbage

    edolstra authored
    nix-collect-garbage: translate to C++
  2. @lethalman
Commits on Apr 20, 2015
  1. @copumpkin
Commits on Apr 18, 2015
  1. @shlevy

    Add the pre-build hook.

    shlevy authored
    This hook can be used to set system-specific per-derivation build
    settings that don't fit into the derivation model and are too complex or
    volatile to be hard-coded into nix. Currently, the pre-build hook can
    only add chroot dirs/files through the interface, but it also has full
    access to the chroot root.
    
    The specific use case for this is systems where the operating system ABI
    is more complex than just the kernel-support system calls. For example,
    on OS X there is a set of system-provided frameworks that can reliably
    be accessed by any program linked to them, no matter the version the
    program is running on. Unfortunately, those frameworks do not
    necessarily live in the same locations on each version of OS X, nor do
    their dependencies, and thus nix needs to know the specific version of
    OS X currently running in order to make those frameworks available. The
    pre-build hook is a perfect mechanism for doing just that.
  2. @shlevy

    Revert "Add the pre-build hook."

    shlevy authored
    Going to reimplement differently.
    
    This reverts commit 1e4a4a2.
Something went wrong with that request. Please try again.