| 20 Sep 2021 |
David Arnold (blaggacao) | Usually, you'd be seeing something like nixpkgs_2, etc. | 12:16:31 |
David Arnold (blaggacao) | Ah, sry. Your reply wasn't wrong. I just read it wrong 🙂😎 | 12:17:20 |
David Arnold (blaggacao) | In reply to @zrsk:matrix.org This would work because this way I'm going to use the nixos-21.05 commit inside the bud's flake.lock, right? Yes! 😁 | 12:17:50 |
@zrsk:matrix.org | I wasn't clear, mea culpa. | 12:18:01 |
@zrsk:matrix.org | In reply to @blaggacao:matrix.org Btw., this is one of the reasons why we've been discussing replacing those nixos tools with deploy-rs -- a generic, "flakes-native" profile (incl. system) deployer. This is too advanced for me now, I just started using DevOS, however I'll remember | 12:18:31 |
@zrsk:matrix.org | However commenting the line you told me didn't work, I exited the dev shell and I run nix flake update, then I re-entered in the dev shell to run bud rebuild test but same problem. | 12:19:50 |
@zrsk:matrix.org | When I re-entered with nix develop it re-built something (nixitself for sure, the command I mean) | 12:20:41 |
@zrsk:matrix.org | What am I missing? | 12:20:50 |
David Arnold (blaggacao) | It's simple. What it does:
- builds a profile locally
- pushes the closures over ssh
- runs the profile's switch mechanism over ssh (in the case of a typical nixpks system profile, that would be on of those nixos-* commands)
| 12:20:59 |
David Arnold (blaggacao) | (deploy-rs) | 12:22:52 |
David Arnold (blaggacao) | What's you nix version? | 12:24:31 |
David Arnold (blaggacao) | Line 45 in devos might still get you hooked on the wrong nixpkgs version, even for bud. That's a bug in nix up to 2 weeks ago. | 12:25:45 |
David Arnold (blaggacao) | * What's your `nix` version? | 12:26:04 |
David Arnold (blaggacao) | * Line 45 in devos might still get you hooked on the wrong `nixpkgs` version, even for `bud`. That's a bug in `nix` present until to ~2 weeks ago. | 12:27:35 |
@zrsk:matrix.org | In reply to @blaggacao:matrix.org What's your nix version? Do you mean inside for the Flake(.lock)? | 12:28:39 |
@zrsk:matrix.org | Or do you mean that the bug is in the host's Nix (that I use to run nix develop) | 12:28:56 |
@zrsk:matrix.org | My host's Nix version is the latest in the unstable-channel | 12:29:38 |
David Arnold (blaggacao) | The host's nix --version? | 12:29:49 |
David Arnold (blaggacao) | Yeah that might not have it, yet. | 12:29:58 |
David Arnold (blaggacao) | * Yeah that might not have the fix, yet. | 12:30:10 |
@zrsk:matrix.org | In reply to @blaggacao:matrix.org The host's nix --version? nix (Nix) 2.4pre20210908_3c56f62 | 12:30:11 |
David Arnold (blaggacao) | Hm, that looks as if it would have https://github.com/NixOS/nix/pull/4641 | 12:32:50 |
David Arnold (blaggacao) | Maybe a good idea: comment those "anti-corruption" lines. | 12:33:40 |
David Arnold (blaggacao) | (all of them) | 12:33:56 |
@zrsk:matrix.org | In reply to @blaggacao:matrix.org Maybe a good idea: comment those "anti-corruption" lines. Same problem. However when I change them is it sufficient to run again bud or should I exit the dev shell before? | 12:37:48 |
David Arnold (blaggacao) | If you can exit, run nix flake update & reenter, that would be interesting to see if it works. (For me) | 12:38:44 |
@zrsk:matrix.org | Nothing to do | 12:41:18 |
@zrsk:matrix.org | I also tried to delete the flake.lock and make nix flake update recreate it | 12:41:42 |
@zrsk:matrix.org | Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now I | 12:48:48 |
@zrsk:matrix.org | * Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now it works as in the devos repository with `bud.follows. | 12:50:24 |