[Nix-dev] No patchShebangs in lyx/default.nix

Vladimír Čunát vcunat at gmail.com
Sun Sep 4 10:50:35 CEST 2016


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160904/5f56e9ba/attachment.p7s>


More information about the nix-dev mailing list