Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: 305c2a3f19309d0851a09a4284a65491b87895a3
      
https://github.com/NixOS/nixops/commit/305c2a3f19309d0851a09a4284a65491b87895a3
  Author: Cireo <reid.pr...@gmail.com>
  Date:   2016-08-24 (Wed, 24 Aug 2016)

  Changed paths:
    M nixops/deployment.py

  Log Message:
  -----------
  deployment: avoid spurious warnings with --dry-run

Prior to this commit, error messages like:

    error: selector ‘’ matches no derivations
    error: cannot update profile ‘/nix/var/nix/profiles/per-user/_/nixops/_’

would be generated when invoking `nixops deploy --dry-run`.

This occurs because `nix-build --dry-run` does not return a configuration 
path, causing a subsequent `nix-env` to fail on the empty value.  We skip 
profile creation during dry runs to avoid this.

Closes #225.


  Commit: 61bc3bf832edd47c071325aef859915b1b87e1dc
      
https://github.com/NixOS/nixops/commit/61bc3bf832edd47c071325aef859915b1b87e1dc
  Author: Domen Kožar <do...@dev.si>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
    M nixops/deployment.py

  Log Message:
  -----------
  Merge pull request #494 from Cireo/patch-1

deployment: avoid spurious warnings with --dry-run


Compare: https://github.com/NixOS/nixops/compare/90e23a358619...61bc3bf832ed
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to