!UUqahLbShAYkkrXmKs:matrix.org

DevOS

33 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
25 Aug 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Doesn't it have shell completion enabled? And thanks!! 😁12:19:56
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @bensleveritt:matrix.org
Short of fixing every package, has anyone had any success cross-compiling flk?
Orthogonal of the issue, you might eventually want to update to a slightly more recent version, where flk -> bud. And bud can be found here: https://github.com/divnix/bud
12:23:23
@bensleveritt:matrix.orgbsl
In reply to @blaggacao:matrix.org
Orthogonal of the issue, you might eventually want to update to a slightly more recent version, where flk -> bud. And bud can be found here: https://github.com/divnix/bud
Ah, cool, is that in the devshell now?
12:24:17
@blaggacao:matrix.orgDavid Arnold (blaggacao) Is the append-initrd-secrets.drv an agenix derivation? Or where does that come from? 12:25:36
@bensleveritt:matrix.orgbslI've not been able to work that out myself12:33:32
@bensleveritt:matrix.orgbsl
In reply to @blaggacao:matrix.org
Orthogonal of the issue, you might eventually want to update to a slightly more recent version, where flk -> bud. And bud can be found here: https://github.com/divnix/bud
What is the strategy for updating? flk get core? I see that's still in the docs
12:49:28
@bensleveritt:matrix.orgbsl I presume I should move to main to get bud 12:49:47
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @blaggacao:matrix.org
Is the append-initrd-secrets.drv an agenix derivation? Or where does that come from?
iirc its for initrd ssh (so you can ssh into a remote machine to do a LUKS/zfs unlock)
14:20:46
@bensleveritt:matrix.orgbsl So to get bud I've checked out main from the devos repo 15:10:22
@bensleveritt:matrix.orgbslOn macOS at least I get this:15:10:28
@bensleveritt:matrix.orgbsl
15:10:31
@bensleveritt:matrix.orgbsl *
15:10:34
@bensleveritt:matrix.orgbsl *
[nixos]$ bud build theseus
hostname: illegal option -- -
usage: hostname [-fs] [name-of-host]
/nix/store/fi6v3h8v64acab6pmn9bm52jq5q8yxg0-devshell-dir/bin/bud: line 8:  -1: substring expression < 0
warning: Git tree '/Users/horatio/Projects/personal/nix/devos' is dirty
error: flake 'git+file:///Users/horatio/Projects/personal/nix/devos' does not provide attribute 'packages.x86_64-darwin.nixosConfigurations."".config.system.build.theseus', 'legacyPackages.x86_64-darwin.nixosConfigurations."".config.system.build.theseus' or 'nixosConfigurations."".config.system.build.theseus'
15:10:47
@bensleveritt:matrix.orgbsl nix flake show has the correct reference 15:18:10
@bensleveritt:matrix.orgbsl
├───nixosConfigurations
│   ├───NixOS: NixOS configuration
│   ├───bootstrap: NixOS configuration
│   ├───ganymede: NixOS configuration
│   ├───pluto: NixOS configuration
│   ├───theia: NixOS configuration
│   └───theseus: NixOS configuration
15:18:29
@kraftnix:matrix.org@kraftnix:matrix.orghow about `bud build theseus toplevel`?16:44:28
@kraftnix:matrix.org@kraftnix:matrix.orgbud lets you build different targets, if you want to see which easily you can enter the repl with `bud repl` and ho to `Flake.nixosConfigurations.host.config.system.build.`16:47:35
@blaggacao:matrix.orgDavid Arnold (blaggacao) bsl if you find the synopsis of bud build misleading, please consider a PR. 🙂👍. There is still much work left for doing ... 😂😎 17:54:23
@bensleveritt:matrix.orgbsl
In reply to @kraftnix:matrix.org
bud lets you build different targets, if you want to see which easily you can enter the repl with `bud repl` and ho to `Flake.nixosConfigurations.host.config.system.build.`
Ooh, not at my desk atm, but that sounds interesting. What kind of targets are there? VMs and the like?
17:56:38
@bensleveritt:matrix.orgbsl
In reply to @bensleveritt:matrix.org
Ooh, not at my desk atm, but that sounds interesting. What kind of targets are there? VMs and the like?
Ah, just had a look and there's no build section
18:04:57
@bensleveritt:matrix.orgbslCool REPL btw18:05:02
@bensleveritt:matrix.orgbsl
In reply to @bensleveritt:matrix.org
Ooh, not at my desk atm, but that sounds interesting. What kind of targets are there? VMs and the like?
* Ah, just had a look and there's no build section. Quick scan around reveals no build in other hosts either
18:06:08
@bensleveritt:matrix.orgbsl(Regarding targets, that'll be bootstrapISO etc.)18:20:12
@bensleveritt:matrix.orgbsl

Anyone else seeing this error now? It looks like it might be Nix upstream

building '/nix/store/rbgwk3hd9xprwgjr9ndrwf1vdbsai3wc-fix-follows.diff.drv'...

trying https://patch-diff.githubusercontent.com/raw/NixOS/nix/pull/4641.patch
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14164    0 14164    0     0  41174      0 --:--:-- --:--:-- --:--:-- 41055
error: hash mismatch in fixed-output derivation '/nix/store/rbgwk3hd9xprwgjr9ndrwf1vdbsai3wc-fix-follows.diff.drv':
         specified: sha256-nyLMSltS9XjNaF446M5yV/o08XtZkYbU7yMVnqYERts=
            got:    sha256-0xNgbyWFmD3UIHPNFrgKiSejGJfuVj1OjqbS1ReLJRc=
building '/nix/store/vd2ic116qlkg95b3jq3xk7lnlz2dvq5z-git-deps.drv'...
error: 1 dependencies of derivation '/nix/store/0xmncxl92cw09w1cjl8adp3wbnl79wsn-nix-2.4pre20210707_02dd6bb.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gn61dcz13ipw7y1annx1ijl6rlg7kxmi-devshell-dir.drv' failed to build
error: 1 dependencies of derivation '/nix/store/s0i4arqaq68a74slgf709sylcw64g1nx-nixos-entrypoint.drv' failed to build
18:34:05
@bensleveritt:matrix.orgbsl Just trying to start a new nix-shell on a fresh checkout of devos#main 18:34:57
@bensleveritt:matrix.orgbsl
In reply to @bensleveritt:matrix.org
Ah, just had a look and there's no build section. Quick scan around reveals no build in other hosts either
Omg, I'm too dumb, I didn't delve deep enough 🤦
18:47:02
@bensleveritt:matrix.orgbsl Reading through main, and it reads so much more clearly than core. Great work 👍️ 19:03:10
@bensleveritt:matrix.orgbslI think I know how to write a new host from scratch now19:03:38
@0x4a6f:matrix.org[0x4A6F]
In reply to @blaggacao:matrix.org
Doesn't it have shell completion enabled? And thanks!! 😁
I can't find any obvious way to enable shell completions for it. Thanks for mentioning this software.
21:25:15
@6aa4fd:tchncs.de6aa4fd
In reply to @0x4a6f:matrix.org
I can't find any obvious way to enable shell completions for it. Thanks for mentioning this software.
shell completion is generally a file that gets shoved into your shell rc file, you can check the source code for it, if the package isn't pulling it automatically
23:36:16

Show newer messages


Back to Room ListRoom Version: 6