On 09/04/2016 12:34 AM, Sergiu Ivanov wrote:
> I have a couple rather simple questions about lyx/default.nix which are
> certainly due to my ignorance.
> [...]
> The package installs just fine, lyx is wrapped all right.  However, when
> I run the sed command from this script in my terminal (not in
> nix-shell), it blocks waiting for input.
> 
> Is postFixup run with standard input set on one of the files in the
> output directory?

I've got no idea how I happened to commit such crap ;-) Thanks!

> Furthermore, this sed line seems to be patching the shebang of the
> script.  Would it be maybe more appropriate to use patchShebangs
> instead? (kudos to FRidh for telling me about this function)
> 
> I can do the change and file a pull request if that seems appropriate.

Yes, patchShebangs will be better, at least if it works - I'm not sure
how lyx calls the stuff...

--Vladimir


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to