I was having a look for MPV on search.nixos.org and noticed that the source link for the main MPV package points to a strange place.
The link for the unwrapped MPV package looks more reasonable to me.
Is the link correct or is it a bug? And if so where can I report it?
Search Link: NixOS Search - Loading...
Strange source link: nixpkgs/trivial-builders.nix at 46251a79f752ae1d46ef733e8e9760b6d3429da4 · NixOS/nixpkgs · GitHub
MPV unwrapped source link: nixpkgs/default.nix at 46251a79f752ae1d46ef733e8e9760b6d3429da4 · NixOS/nixpkgs · GitHub
1 Like
abathur
November 18, 2021, 11:43pm
2
I don’t think it is really “wrong” but I agree it’s unexpected. It’s probably worth reporting at GitHub - NixOS/nixos-search: Search NixOS packages and options to see if it’s feasible for search to see through the wrapper.
2 Likes
rofrol
November 19, 2021, 4:10pm
3
Similar with gitFull
. It gives link to default.nix
instead giving link also to and pkgs/top-level/all-packages.nix
:
# The full-featured Git.
gitFull = git.override {
svnSupport = true;
guiSupport = true;
sendEmailSupport = true;
withLibsecret = !stdenv.isDarwin;
};
Opened an issue on the repo:
opened 10:40AM - 20 Nov 21 UTC
When searched for MPV I noticed that the source link points to a strange place.
…
I was expecting a link like the one for unwrapped MPV.
Strange source link: https://github.com/NixOS/nixpkgs/blob/nixos-21.05/pkgs/build-support/trivial-builders.nix#L76
MPV unwrapped source link: https://github.com/NixOS/nixpkgs/blob/nixos-21.05/pkgs/applications/video/mpv/default.nix#L221
User rofrol mentioned a similar issue with the gitFull packagein the forum:
https://discourse.nixos.org/t/wrong-link-to-mpv-source/16141/3