Martin Lavoie

Results 9 comments of Martin Lavoie

Hello @deliciouslytyped, For github, you can already do `niv add nmattia/niv` and `niv add github nmattia/niv` which is as short as can be. I can see that using urls could...

Hi @yaitskov , I made a small demo that use a local source just fine without unpacking. In fact, I don't think niv is ever unpacking any sources. I would...

> How to run the snippet above? First, you should copy the script in the same folder containing the nix folder with sources.json and sources.nix. Then, you could change `sources.juice`...

Hi Eric, I'm hesitant to recommend adding this feature right now. There would need to be interest from more than 1 projects. Keeping things simple is valuable for a somewhat...

Hi @InLaw, I don't understand what your proposition. Let's say we have the following situation: ```console $ ls nix sources.json sources.nix pixify.nix ``` The first two files are managed by...

I just realized that I had misunderstood what you meant all along. I was thinking of the `nixpkgs` in [nix/sources.json](https://github.com/nmattia/niv/blob/master/nix/sources.json) that was used to build niv while you are talking...

> Some expression language (mustache?) supporting environment variables would help here a lot. I would be hesitant to bring any expression language during the nix evaluation. It would add that...

I agree with zimbatm that we should wait for a nix builtins before supporting JSON5. The alternative is to use the "[import from derivation](https://nixos.wiki/wiki/Import_From_Derivation)", which may not be appropriate in...

If possible, there could be some value on having this information without downloading the source itself. Here is a quick mock-up of the output of a diff-like command ``` nixpkgs...