Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: c698ec1f220f9be4c4184532f0a6c2a9370f3839
      
https://github.com/NixOS/nix/commit/c698ec1f220f9be4c4184532f0a6c2a9370f3839
  Author: Tuomas Tynkkynen <[email protected]>
  Date:   2017-01-03 (Tue, 03 Jan 2017)

  Changed paths:
    M src/nix-build/nix-build.cc

  Log Message:
  -----------
  nix-shell: Fix 'nix-shell -i'

The 'args' variable here is shadowing one in the outer scope and its
contents end up unused. This causes any '#! nix-shell' lines to
effectively be ignored. The intention here was to clear the args vector,
as far as I can tell (and it seems to work).


  Commit: 018f884ffd834ee339e9b4182b4537a3cd80ee28
      
https://github.com/NixOS/nix/commit/018f884ffd834ee339e9b4182b4537a3cd80ee28
  Author: Tuomas Tynkkynen <[email protected]>
  Date:   2017-01-03 (Tue, 03 Jan 2017)

  Changed paths:
    M src/nix-build/nix-build.cc

  Log Message:
  -----------
  nix-shell: Don't act interactive in shebangs

I had observed that 'bash --rcfile' would do nothing in a
non-interactive context and cause nothing to be executed if a script
using nix-shell shebangs were run in a non-interactive context.


  Commit: b501bea25fac9c43dfd0d197e16836facd2b63a5
      
https://github.com/NixOS/nix/commit/b501bea25fac9c43dfd0d197e16836facd2b63a5
  Author: Tuomas Tynkkynen <[email protected]>
  Date:   2017-01-03 (Tue, 03 Jan 2017)

  Changed paths:
    M tests/local.mk
    A tests/nix-shell.sh
    A tests/shell.nix
    A tests/shell.shebang.sh

  Log Message:
  -----------
  tests: Add simple tests for nix-shell

nix-shell -A, -p and -i are lightly tested.


  Commit: ae1e4dfad29e24739c7f280b1a96e16ba1b54d3a
      
https://github.com/NixOS/nix/commit/ae1e4dfad29e24739c7f280b1a96e16ba1b54d3a
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-01-03 (Tue, 03 Jan 2017)

  Changed paths:
    M src/nix-build/nix-build.cc
    M tests/local.mk
    A tests/nix-shell.sh
    A tests/shell.nix
    A tests/shell.shebang.sh

  Log Message:
  -----------
  Merge pull request #1169 from dezgeg/fix-shell-shebang

Fix nix-shell shebang usage


Compare: https://github.com/NixOS/nix/compare/b6b142b4b105...ae1e4dfad29e
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to