!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

226 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.47 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
5 Jan 2024
@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
@qbit:tapenet.org@qbit:tapenet.orgthat's not really how things are done in nixos :P17:55:36
@qbit:tapenet.org@qbit:tapenet.orgyou can do a shell.nix file and build / run it locally from source..17:56:13
@qbit:tapenet.org@qbit:tapenet.orgbut TheWay is to upstream it or add it to your configuration.nix 17:56:35
@qbit:tapenet.org@qbit:tapenet.orgas stated like 30 times before :P17:56:42
@faust403:matrix.orgVladislav VasilevOh, sorry for that. Okay, I think I got it17:57:15
@qbit:tapenet.org@qbit:tapenet.orgtypically the shell.nix stuff is used for development - like you are going to be making changes to the software.. and need to install all the deps and what not17:58:05
@qbit:tapenet.org@qbit:tapenet.orgit's not used for "installing software into the system"17:58:19
@faust403:matrix.orgVladislav Vasilevokay, the right thing then do that: nix-shell -E 'let pkgs = import <nixpkgs-unstable> { }; in pkgs.callPackage ./neutron/default.nix { }'17:59:56
@faust403:matrix.orgVladislav VasilevOr whatever nixpkgs in system currently installed18:00:18
@qbit:tapenet.org@qbit:tapenet.org if you want it installed and usable across reboots / nixos rebuilds you must put it in your configuration.nix or nixpkgs upstream 18:00:53
@faust403:matrix.orgVladislav VasilevSo, and how paths are adding to PATH ? I have no custom installation phase, hovewer, I can see neutrond drv in /nix/store. How to add it to shell ?18:10:57
@faust403:matrix.orgVladislav Vasilev * So, and how paths are adding to PATH when shell launching ? I have no custom installation phase, hovewer, I can see neutrond drv in /nix/store. How to add it to shell ?18:11:08

Show newer messages


Back to Room ListRoom Version: 9