30 Aug 2021 |
@timdeh:matrix.org | well I would say we should use nix-doc if at all possible. | 16:53:22 |
@timdeh:matrix.org | what's that nix issue we fixed early on where nix flake check failed for trying to build darwin packages on linux? I'm seeing it in a work repo... | 19:52:55 |
@timdeh:matrix.org | guess I can check git log 🤦♂️ | 19:53:15 |
Pacman99 | Yeah I think thats what happens when you use IFD | 20:13:23 |
@timdeh:matrix.org | oh that's it, thank you 🙏 | 20:50:31 |
31 Aug 2021 |
@teutat3s:pub.solar | was the devos main branch renamed to master or did I miss something? | 13:54:15 |
@timdeh:matrix.org | that was me sorry 😅 | 14:24:31 |
ultranix | how do you run unfree derivations with the syntax nix run 'nixpkgs# | 23:38:32 |
1 Sep 2021 |
@timdeh:matrix.org | yeah this is really annoying atm | 03:45:45 |
@timdeh:matrix.org | $ NIXPKGS_ALLOW_UNFREE=1 n run --impure #... | 03:46:06 |
@timdeh:matrix.org | * $ NIXPKGS_ALLOW_UNFREE=1 nix run --impure #... | 03:46:17 |
ultranix | ahh --impure is what i was missing | 15:30:37 |
2 Sep 2021 |
David Arnold (blaggacao) | https://github.com/determinatesystems/nix-netboot-serve | 15:03:15 |
David Arnold (blaggacao) | grahamc (he/him): would the operating theory also work for sd iso? (havn't had time to look at it in greater detail) | 15:03:56 |
David Arnold (blaggacao) | * grahamc (he/him): would the operating theory also work for sd and other iso? (havn't had time to look at it in greater detail) | 15:04:05 |
@grahamc:nixos.org | if you're ever making a "real" filesystem like ext4 or whatever: no | 15:05:09 |
@grahamc:nixos.org | if you're saying well we don't need that, let's just do a ramfs: it could work, but you'd need to figure out putting down a bootloader | 15:05:31 |
David Arnold (blaggacao) | I was associating with the time it takes to build the squashfs.. | 15:05:47 |
@grahamc:nixos.org | again, a squashfs is too much of a real FS | 15:06:20 |
@grahamc:nixos.org | there are other approaches you could take | 15:06:40 |
@grahamc:nixos.org | but they have downsides | 15:06:45 |
@grahamc:nixos.org | this is the second time I've tried to make a fast ipxe server for nixos | 15:06:54 |
@grahamc:nixos.org | the first time I took a squashfs-based approach | 15:07:12 |
David Arnold (blaggacao) | manveru pointed to the link today... He's sitting in quite the same boat. | 15:07:31 |
@grahamc:nixos.org | every store path got its own squashfs, each squashfs got its own cpio, and then I'd loop over all the squashes and mount them: | 15:07:33 |
@grahamc:nixos.org | https://github.com/grahamc/netboot.nix/blob/master/quickly.nix#L49-L74 | 15:07:34 |
@grahamc:nixos.org | this repo uses recursive nix to share those cpios / squashes between builds to reduce duplicate work | 15:07:50 |
@grahamc:nixos.org | but recursive nix was not a very good experience, and still had a major issue of UX of copying around big initrd's from build machines to the machine hosting the imafges | 15:08:24 |
@grahamc:nixos.org | by keeping everything Nix does small, the nix-build and nix-copy-closure time is very small | 15:09:15 |
b12f | After updating to devos' master branch, we're running into the following issue:
❯ nix flake update
warning: Git tree '/home/ben/Workspace/os' is dirty
error: input 'bud/beautysh/poetry2nix/flake-utils' follows a non-existent input 'beautysh/flake-utils'
(use '--show-trace' to show detailed location information)
| 15:48:43 |