| 11 Mar 2023 |
@luntx:matrix.org | * Hello could you tell me where is the issue?
`[nix@nixos:~]$ nix-env -qaP perf error: selector 'perf' matches no derivations, maybe you meant: perf-linux perf-tools-unstable perfect-hash
[nix@nixos:~]$ sudo nixos-rebuild switch building Nix... building the system configuration... error: undefined variable 'perf-linux'
at /etc/nixos/configuration.nix:208:5:
207| mtr
208| perf-linux
| ^
209| wireshark
(use '--show-trace' to show detailed location information)`
Based on results name of the package is correct perf-linux but I can't rebuild config.
| 13:20:49 |
@luntx:matrix.org | https://search.nixos.org/packages?channel=22.11&from=0&size=50&sort=relevance&type=packages&query=perf | 13:21:51 |
Lily Foster | In reply to @luntx:matrix.org
Hello could you tell me where is the issue?
`[nix@nixos:~]$ nix-env -qaP perf error: selector 'perf' matches no derivations, maybe you meant: perf-linux perf-tools-unstable perfect-hash
[nix@nixos:~]$ sudo nixos-rebuild switch building Nix... building the system configuration... error: undefined variable 'perf-linux'
at /etc/nixos/configuration.nix:208:5:
207| mtr
208| perf-linux
| ^
209| wireshark
(use '--show-trace' to show detailed location information)`
Based on results name of the package is correct perf-linux but I can't rebuild config.
nix-env has a pretty unfortunate interface that searches by and mentions the derivation name attribute rather than the attrpath in nixpkgs. You probably want to use config.boot.kernelPackages.perf in your config I think | 13:27:20 |
| @janik0:matrix.org joined the room. | 14:23:18 |
| @luntx:matrix.org changed their display name from luntx to Solmus_. | 20:49:59 |
| @rasmus:rend.al joined the room. | 22:41:21 |
| 12 Mar 2023 |
| @thetapo:matrix.org removed their profile picture. | 07:47:15 |
| @thetapo:matrix.org removed their display name TheTapo. | 07:50:22 |
| @thetapo:matrix.org left the room. | 07:50:53 |
| 14 Mar 2023 |
| mei 🌒& changed their display name from ckie (they/them) to ckie (they/them; heavily limited keyboard usage, dictation or voice only). | 01:10:36 |
| miriku joined the room. | 18:41:08 |
| butterchicken joined the room. | 22:47:08 |
| 15 Mar 2023 |
| @adtya:adtya.xyz joined the room. | 04:28:36 |
| 16 Mar 2023 |
@brian:bmcgee.ie | Is there a bot account for nix-community that can be used for signed commits from github actions? For context: https://github.com/nix-community/ethereum.nix/pull/165 | 13:35:41 |
Mic92 | Probably better to create your own so we don't need to share more github tokens between projects than needed. | 13:37:25 |
Mic92 | But wouldn't it be sufficient to just have a repo secret? | 13:37:47 |
Mic92 | You can give the github action permissions to make commits | 13:38:08 |
@brian:bmcgee.ie | I can configure it, but I thought it was worth checking if this had already been setup org wide. | 13:38:15 |
@brian:bmcgee.ie | Signed commits are required org wide for nix-community I think | 13:38:25 |
Mic92 | Github actions bot should sign commits as well no? | 13:38:52 |
@brian:bmcgee.ie | I don't have much experience with them, you could be right | 13:39:06 |
Mic92 | But maybe this was just for github merges... | 13:39:17 |
@brian:bmcgee.ie | if it can, even better. Simplifies things | 13:39:17 |
@brian:bmcgee.ie | For now it looks like I need to generate a gpg key and add it to a bot github profile | 13:39:39 |
@brian:bmcgee.ie | from what I'm googling | 13:39:45 |
Mic92 | https://github.com/Nautilus-Cyberneering/pygithub/blob/main/docs/how_to_sign_automatic_commits_in_github_actions.md#solution-01-using-the-temporary-github_token-generated-for-each-workflow-job | 13:39:51 |
Mic92 | Looks like you need to have a gpg key. | 13:40:22 |
Mic92 | I don't think you need a bot account however. | 13:40:30 |
Mic92 | Ok. Maybe to assign it an identity... | 13:40:57 |
@brian:bmcgee.ie | Yeah looks like | 13:41:26 |