Repository navigation
v2ray-geoip: init at 202112090029 - #147010
Merged
Merged
Conversation
Member
|
What is the difference from geoip in v2ray? Why is it necessary for a duplicated package? Furthermore, should we replace the one in v2ray with this? |
Member
Author
|
It's the same as the one bundled in v2ray. I think it is more appropriate to replace that one with this, and would cover that in a later pr. The reason for a separate package is that those assets are usable outside the context of v2ray (as in other proxy clients), and the current expressions makes it hard to do so. |
VergeDX
approved these changes
Nov 27, 2021
Member
Agreed. Without this package a hack is needed to access those assets: let assets = (pkgs.runCommandLocal "v2ray-assets" {} ''
mkdir -p $out/share
ln -s `[[ "${pkgs.v2ray.drvAttrs.buildCommand}" =~ V2RAY_LOCATION_ASSET( ([[:alnum:]]|[/-])+) ]] && echo ''${BASH_REMATCH[1]}` $out/share/v2ray
'') |
kidonng
approved these changes
Nov 28, 2021
sikmir
reviewed
Dec 1, 2021
fregante
added a commit
to refined-github/refined-github
that referenced
this pull request
Feb 11, 2023
- Fixes #5718 ## Test URLs refined-github/sandbox#10 No-comment reviews shouldn't have it: NixOS/nixpkgs#147010 (review) ## Screenshot <img width="207" alt="Screenshot 1" src="https://user-images.githubusercontent.com/1402241/218000442-4669c5b9-f2c8-42fb-92d1-7d2ef2a0e238.png"> <img width="122" alt="Screenshot" src="https://user-images.githubusercontent.com/1402241/218000438-d753c1a2-802b-4d7c-8e27-477c33b5defc.png">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes