!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

235 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.50 Servers

Load older messages


SenderMessageTime
5 Jan 2024
@faust403:matrix.orgVladislav VasilevThis one who starts with R building with error17:43:08
@faust403:matrix.orgVladislav VasilevI have no any idea now how to install it 17:43:28
@faust403:matrix.orgVladislav Vasilevahahhaha i love go17:43:30
@faust403:matrix.orgVladislav Vasilevimage.png
Download image.png
17:43:35
@qbit:tapenet.org@qbit:tapenet.orgwhat are you trying to install?17:43:45
@faust403:matrix.orgVladislav VasilevThis package17:43:54
@faust403:matrix.orgVladislav Vasilevnix-env -i .17:43:57
@qbit:tapenet.org@qbit:tapenet.orgfrom nixpkgs? 17:44:20
@faust403:matrix.orgVladislav VasilevNo, local17:44:28
@qbit:tapenet.org@qbit:tapenet.orginclude the package derivation in your configuration.nix then17:44:40
@qbit:tapenet.org@qbit:tapenet.organd add it to the systempackages17:44:53
@faust403:matrix.orgVladislav Vasilevyou mean add it to /etc/nixos/configuration.nix ?17:46:10
@faust403:matrix.orgVladislav VasilevI didn't got it17:46:18
@faust403:matrix.orgVladislav VasilevIf someone will want to install this package - this man should do the same steps?17:47:05
@qbit:tapenet.org@qbit:tapenet.orgif you want someone else to be able to install it - upstream it to nixpkgs :P17:47:23
@faust403:matrix.orgVladislav VasilevBut it installing strange deps which ones even doesn't building17:47:59
@qbit:tapenet.org@qbit:tapenet.org when you build it nix-build -A neutrond from in nixpkgs - then there will be a result dir that you can run it from 17:48:04
@faust403:matrix.orgVladislav VasilevI think they came from buildGoModule17:48:10
@qbit:tapenet.org@qbit:tapenet.orgno, your nix-env command is doing something dumb 17:48:17
@k900:0upti.meK900 nix-env -i . is absolutely the wrong thing 17:48:12
@k900:0upti.meK900You just tried to install every package with a dot in its name17:48:20
@qbit:tapenet.org@qbit:tapenet.orglike installing everything17:48:22
@qbit:tapenet.org@qbit:tapenet.orgheh17:48:36
@faust403:matrix.orgVladislav VasilevOh, sorry, I'm new in nix17:49:10
@qbit:tapenet.org@qbit:tapenet.orgi would avoid using nix-env17:49:25
@faust403:matrix.orgVladislav VasilevThen it's enough to have <drv>/bin dir to see it in path ?17:49:42
@qbit:tapenet.org@qbit:tapenet.orgyou need to either add it to nixpkgs or your configuration if you want it to be persistent17:50:05
@faust403:matrix.orgVladislav Vasilev
In reply to @qbit:tapenet.org
i would avoid using nix-env
And me using it's everywhere, heh
17:50:07
@qbit:tapenet.org@qbit:tapenet.orgotherwise it will get GCd17:50:31
@faust403:matrix.orgVladislav Vasilev
In reply to @k900:0upti.me
You just tried to install every package with a dot in its name
How can I install it from local source otherwise?
17:55:08

Show newer messages


Back to Room ListRoom Version: 9