Re: [Nix-dev] Handling nix-shell shebangs with the new nix command

2016-08-01 Thread Shea Levy
Hi Eelco, Hmm, I already whipped up a generic solution for long shebangs [1] and there's the start of a nix build command already. With that already done it seems likely to be easier to just write a nix shell command rather than porting nix-shell, why do you think it's preferable to do otherwise?

Re: [Nix-dev] Handling nix-shell shebangs with the new nix command

2016-08-01 Thread Eelco Dolstra
Hi Shea, On 07/29/2016 10:48 PM, Shea Levy wrote: > For the perl->c++ work, how should we handle nix-shell shebangs given > that the command is now "nix shell"? Should the nix command itself > contain shebang-checking logic, or should we have a separate nix-shell > C++ program just for shebangs,

Re: [Nix-dev] Handling nix-shell shebangs with the new nix command

2016-07-31 Thread Shea Levy
I've made several PRs and issues, see https://github.com/NixOS/nix/milestone/6 Profpatsch writes: > On 16-07-29 04:48pm, Shea Levy wrote: >> Hi Eelco, >> >> For the perl->c++ work, how should we handle nix-shell shebangs given >> that the command is now "nix shell"? Should

Re: [Nix-dev] Handling nix-shell shebangs with the new nix command

2016-07-31 Thread Profpatsch
On 16-07-29 04:48pm, Shea Levy wrote: > Hi Eelco, > > For the perl->c++ work, how should we handle nix-shell shebangs given > that the command is now "nix shell"? Should the nix command itself > contain shebang-checking logic, or should we have a separate nix-shell > C++ program just for

[Nix-dev] Handling nix-shell shebangs with the new nix command

2016-07-29 Thread Shea Levy
Hi Eelco, For the perl->c++ work, how should we handle nix-shell shebangs given that the command is now "nix shell"? Should the nix command itself contain shebang-checking logic, or should we have a separate nix-shell C++ program just for shebangs, or something else? Thanks, Shea