| 1 Sep 2022 |
k0kada (he/him) | In reply to @ckie:ckie.dev bad store path! Yeah, another possibly explanation | 21:01:32 |
mei 🌒& | question is how it got there.. | 21:01:39 |
k0kada (he/him) | Let me try to build your whole NixOS config | 21:01:40 |
k0kada (he/him) | To see if the issue is in your config itself | 21:01:48 |
k0kada (he/him) | nix build .\#nixosConfigurations.nixos.config.system.build.toplevel
warning: Git tree '/tmp/nixos-config' is dirty
error: a 'aarch64-darwin' with features {} is required to build '/nix/store/a5dhhm5nhn936q5177nlv3fn3b4jvqly-source.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
(use '--show-trace' to show detailed location information)
| 21:03:46 |
k0kada (he/him) | The issue is in the rest of your config | 21:03:51 |
k0kada (he/him) | Not related to NDE at all | 21:03:55 |
mei 🌒& | ooh! | 21:04:00 |
k0kada (he/him) | This is why I said to create a minimal repro with just NDE... | 21:04:08 |
mei 🌒& | unexpected twist, like a horror show! | 21:04:16 |
k0kada (he/him) | * $ nix build .\#nixosConfigurations.nixos.config.system.build.toplevel
warning: Git tree '/tmp/nixos-config' is dirty
error: a 'aarch64-darwin' with features {} is required to build '/nix/store/a5dhhm5nhn936q5177nlv3fn3b4jvqly-source.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
(use '--show-trace' to show detailed location information)
| 21:04:26 |
k0kada (he/him) | And I have an idea of the issue | 21:04:55 |
k0kada (he/him) | Well, I tried to do some investigation here, but have no clue lol | 21:08:35 |
k0kada (he/him) | There is something there in your config that is cursed | 21:08:44 |
k0kada (he/him) | But not related with NDE at all | 21:08:49 |
mei 🌒& | perhaps cat yourself the /nix/store/a5dhhm5nhn936q5177nlv3fn3b4jvqly-source.drv? | 21:09:06 |
k0kada (he/him) | Yeah, I did a cat there | 21:09:16 |
k0kada (he/him) | It is a bash build lol | 21:09:19 |
k0kada (he/him) | Not sure why it is trying to build bash for aarch64-darwin | 21:09:35 |
k0kada (he/him) | Wait | 21:09:36 |
k0kada (he/him) | Hey ckie (they/them), do you remember the command that show the reverse deps for a derivation? | 21:10:59 |
mei 🌒& | nix why-depends? nix-tree? | 21:11:09 |
k0kada (he/him) | nix why-depends is only for the realization right? | 21:11:53 |
k0kada (he/him) | I mean, I want to check the reverse deps for a .drv | 21:12:02 |
k0kada (he/him) | Well, nix-tree worked | 21:12:38 |
ribosomerocker | oh man, i did expect that it'd be my system but i didn't think it'd be like that | 21:13:32 |
ribosomerocker | which nix-store path do i need to delete? | 21:13:47 |
k0kada (he/him) | I don't think you need to delete anything | 21:14:04 |
k0kada (he/him) | The problem is in your NixOS config somewhere I think | 21:14:12 |
k0kada (he/him) | Because I reproduced in my machine the same issue | 21:14:26 |