Nicolas Mattia
Nicolas Mattia
Nice! Currently `niv` uses tarball releases from github, Iām not sure how we could grab the last commit date from there. It should probably just use `nix-prefetch-git` instead, which would...
I'll clarify here: https://github.com/nmattia/sorri/issues/1 ... when I get the time :)
Wops, missed the first notification! Yes, `niv` uses `nix-prefetch-url`, which is part of the `pkgs.nix` derivation. We _could_ reimplement it but that'd open a can of worms. I guess niv...
I gave this some thoughts over the past few days and came up with this (feedback welcome): `niv init` generates `nix/sources.json`, `nix/sources.nix` and `default.nix` (unless they exist, of course). The...
š , I think that's close to the perfect `nix/default.nix`! One thing that we may add as well is a `system` parameter, if you want to build stuff on a...
Hey guys, would love your feedback on https://github.com/nmattia/niv/issues/272
> Hi there. After running niv init today, I get the following code in my nix/sources.json: You mean `nix/sources.nix`, correct? > Is it possible to move the bulk of this...
Mh, actually this would also trivially solve https://github.com/nmattia/niv/issues/102, since we'd be passing the path to `sources.json` explicitly. @masaeedu you seem to have an agenda here... :wink:
> If that is the case, how would "updating" an outdated sources.nix file work? The first thing I can come up with is keeping a list of know shas of...
Made some progress on this with @basvandijk. This sources.nix can be imported with `builtins.fetchurl`: https://raw.githubusercontent.com/nmattia/niv/506b896788d9705899592a303de95d8819504c55/nix/sources.nix š