Nix + Go | 235 Members | |
| Go packaging for and with Nixpkgs. | Be excellent to each other. | 50 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Jan 2024 | ||
| that's not really how things are done in nixos :P | 17:55:36 | |
| you can do a shell.nix file and build / run it locally from source.. | 17:56:13 | |
| but TheWay is to upstream it or add it to your configuration.nix | 17:56:35 | |
| as stated like 30 times before :P | 17:56:42 | |
| Oh, sorry for that. Okay, I think I got it | 17:57:15 | |
| typically 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 not | 17:58:05 | |
| it's not used for "installing software into the system" | 17:58:19 | |
| okay, the right thing then do that: nix-shell -E 'let pkgs = import <nixpkgs-unstable> { }; in pkgs.callPackage ./neutron/default.nix { }' | 17:59:56 | |
| Or whatever nixpkgs in system currently installed | 18:00:18 | |
| 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 | |
| So, 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 | |
| * 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 | |
| * 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's bin to shell ? | 18:11:18 | |
| Probably add it to buildInputs | 18:12:55 | |
| Yep, one moment | 18:12:58 | |
| no | 18:13:07 | |
| https://jorel.dev/NixOS4Noobs/installingprogs.html | 18:14:02 | |
environment.systemPackages | 18:14:30 | |
| anyway I did this, but I don't think it's a good solution even for a temporary package
| 18:19:22 | |
| * anyway I did this, but I don't think it's a good solution even for a temporary shell
| 18:19:32 | |
| * anyway I did this, but I don't think it's a good solution even for a temporary shell
| 18:20:09 | |
| 6 Jan 2024 | ||
| 14:00:01 | ||
| 7 Jan 2024 | ||
| https://github.com/NixOS/nixpkgs/pull/276685 https://github.com/NixOS/nixpkgs/pull/278115 | 09:31:18 | |
| 8 Jan 2024 | ||
| https://github.com/NixOS/nixpkgs/pull/279391 | 07:47:28 | |
| 9 Jan 2024 | ||
| Hi folks, I am trying to understand how to actually build a module with buildGoModule. I have tried, for example:
| 23:55:11 | |
| where shell.nix is:
| 23:55:53 | |
( That's not the right info for my repo, but I haven't gotten to that step yet, because I can't get the build to even start. I assume I'm doing something wrong with the '<nixpkgs>' part, trying to build all of nixpkgs or something, but I don't know what I need to supply it with instead ) | 23:58:22 | |
| 10 Jan 2024 | ||
And what exactly is the lib argument suppose to be? | 00:03:24 | |
i think you need --attr signASLbot | 01:05:30 | |
not sure what lib argument you mean | 01:05:46 | |