lf-lang / lingo

Package manager and build tool for the Lingua Franca coordination language
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

How should `lingo` interact with `nix`? #33

Open lhstrh opened 1 year ago

lhstrh commented 1 year ago

See https://github.com/lf-lang/lingua-franca/pull/1831/commits/75ebf6d1b0c45b32568097b9020f10c8bb92639f#r1278621320 for more context.

tanneberger commented 1 year ago

you mean the nix that is shipped by the our pico lf template ?

lhstrh commented 1 year ago

I'm referring to the nix configuration in https://github.com/lf-lang/lf-3pi-template, but I'm interested in answering this question in the broader scope of what this might look like when we depend on lingo to build packages like these.

gundralaa commented 1 year ago

I think that nix should run outside of lingo. It makes more sense to me to use nix as an optional packaging system for certain applications like lf-3pi-template and make sure lingo and lfc are accessible as packages in the shell.

tanneberger commented 6 months ago

Agreed, wrapping nix around lingo makes more sense.

and so far we didn't work against the nix paradigm.