Re: [Nix-dev] Handling nix-shell shebangs with the new nix command
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? ~Shea [1]: https://github.com/shlevy/long-shebang Eelco Dolstrawrites: > 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, or something else? > > Well, there is no "nix shell" command yet. Given that the "nix" command is > experimental at the moment, it's probably best to keep nix-shell a separate > program for now. > > -- > Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Handling nix-shell shebangs with the new nix command
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, or something else? Well, there is no "nix shell" command yet. Given that the "nix" command is experimental at the moment, it's probably best to keep nix-shell a separate program for now. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Handling nix-shell shebangs with the new nix command
I've made several PRs and issues, see https://github.com/NixOS/nix/milestone/6 Profpatschwrites: > 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 shebangs, or something else? > > I wonder what the progress of the „getting rid of perl“ thingy is? > This is the first time it has come up in months, how far along is it? > > -- > Proudly written in Mutt with Vim on NixOS. > Q: Why is this email five sentences or less? > A: http://five.sentenc.es > May take up to five days to read your message. If it’s urgent, call me. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Handling nix-shell shebangs with the new nix command
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 shebangs, or something else? I wonder what the progress of the „getting rid of perl“ thingy is? This is the first time it has come up in months, how far along is it? -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent, call me. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Handling nix-shell shebangs with the new nix command
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 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev