Domen Kožar
Domen Kožar
> Sometimes LD_LIBARY_PATH is the only way, like when using python packages that load the lib with `ctypes` or `cffi`. Hence I proposed a long time ago https://discuss.python.org/t/pkgconfig-specification-as-an-alternative-to-ctypes-util-find-library/31379
This was addressed with [monorepo](https://devenv.sh/blog/2025/10/07/devenv-110-monorepo-nix-support-with-devenvyaml-imports/) support, please reopen with an example how to reproduce
This was an issue in nixpkgs, closing
Someone needs to create nixpkgs-go with all the versions packaged :)
Please upvote this issue if it's important to you and we'll get it done. Package name should be in the output of `devenv search`, you can see it prefixed with...
There's: ``` +------------------------------------------------+---------+----------------------------------------------------------------------------------+ | pkgs.go_1_22 | 1.22.3 | Go Programming language | +------------------------------------------------+---------+----------------------------------------------------------------------------------+ ``` So `languages.go.package = pkgs.go_1_22;` should work. Same goes for `cue`, if the version is available.
The issue I have with this approach is that you'll get also an outdated closure, possibly with security issues in the closure like openssl. If someone is interested to sponsor...
Looks like @purpleclay started some of this in https://github.com/purpleclay/go-overlay
Thanks @purpleclay, I've integrated your overlay at https://github.com/cachix/devenv/pull/2340
I'm getting: ``` error: at «github:cachix/devenv-nixpkgs/dcf61356c3ab25f1362b4a4428a6d871e84f1d1d»/pkgs/build-support/go/module.nix:225:47: 224| 225| CGO_ENABLED = args.env.CGO_ENABLED or go.CGO_ENABLED; | ^ 226| }; error: attribute 'CGO_ENABLED' missing ``` Using go 1.23.0, maybe too new/old nixpkgs?