Closed srhb closed 4 years ago
Hmm, okay, guess I broke something. I'll try and figure it out.
./script/test
runs for me with "all good". I don't have a Mac, so if I did break something, I'm not sure how to verify it. :)
@nmattia this one would be great to merge as channels confuse newcomers :)
Hi,
Can this PR be reconsidered for review please? I just started using Niv and indeed, I got quite confused on this :sweat_smile: I can only imagine many (new) users feel the same.
Note: let me know if I can help, though I think this PR is pretty much done?
Sorry for the delay, I was out for a while. I'll have a look at this asap!
Alright, I cleaned up a bit:
defaultNixpkgsRepo
and you should be good to go. The tests can still use nixpkgs-channels, no need to change that anymore either.I guess the readme still need to be updated though! Thanks for doing this!
I can drop those changes, but I'm not sure there's any point if you want to keep using the deprecated repository regardless (but why? :smile:)
To clarify: NixOS/nixpkgs-channels is deprecated. There's no date for it going away, but the proper repository to get all branches from is now NixOS/nixpkgs.
Furthermore I'm a bit surprised you've baked in the release-$foo
branches in your above PRs. release-$foo
branches are the untested, pre-Hydra CI branches -- like "master" but for a stable branch instead of for {nixos,nixpkgs}-unstable
-- whereas nixpkgs-$foo
and nixos-$foo
are post-Hydra CI branches, that correspond to the deprecated nixpkgs-channels branches. Was that intentional?
I can drop those changes
Please don't! What I mean is that you now need way fewer changes. In particular, you don't need to update the the tests. Sorry for the confusion!
NixOS/nixpkgs-channels is deprecated.
Yep, and I've never liked it. Let's nuke it.
surprised you've baked in the release-$foo branches in your above PRs. [...] Was that intentional?
No! I always thought nixos-FOO
was the nixos release and release-FOO
was the nixpkgs release. Thanks for clarifying that!
Ah, ok, thank you for clarifying! :smile: I'll clean this up tonight then. :)
Done. I didn't touch tests, nor change the "release" branches, because I'm not sure what you want to point them to. I added the default user/repo to the options parser default values, because I think they were just missed.
I'll release a new version tomorrow!
Fixes https://github.com/nmattia/niv/issues/168
This is a completely naive search-and-replace with some artisanal description updating sprinkled on top. nixpkgs mirrors all the way down to 18.09, so I think this is sufficient(?)
I've run the tests via
repl > :main
-- is there anything else I should do to verify?