Ning Sun

Results 331 comments of Ning Sun

Thank you @happysalada I totally agree having a greptimedb package in nixpkgs is great. > Basically you just need to increment the patch version of the custom dependencies. But if...

I see. We can include a build identifier like `0.56.0+greptime` in forked repo. https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions

Yes I confirm the trick works. The build identifier is accepted by cargo.

@happysalada one more question, just want confirm we only do this for rust `dependencies` right? Can we skip those `dev-dependencies`? Also there are some dependencies which are not forked, but...

thank you @happysalada I'm just blocked by all those non-release dependencies. Some are forked by our developers, and we a chance to modify them. Some are not forked, but stick...

Do you if this will work? ``` packages.default = pkgs.rustPlatform.buildRustPackage { pname = packageName; version = packageVersion; src = lib.cleanSource ./.; cargoLock = { lockFile = ./Cargo.lock; outputHashes = {...

I haven't had any dependencies version appended. Because I checked some of our dependency are not forked but pin to a particular non-release commit. I feel it doesn't worth it...

Got it. Then it's only our forked sqlparser. Let me append the version.

I think we are almost there. I will create a draft PR with my flake, please fork and edit.

https://github.com/nix-community/naersk may help