| 2 Jul 2021 |
| @timdeh:matrix.org changed the history visibility to "world_readable" from "shared". | 04:27:28 |
@timdeh:matrix.org | Ended up cleaning DevOS's README | 05:41:52 |
David Arnold (blaggacao) | FYI: (no registries option) https://github.com/NixOS/nix/pull/4976 | 13:30:46 |
| 3 Jul 2021 |
| h4rdstyl3z joined the room. | 21:21:13 |
| 5 Jul 2021 |
| spacesbot - keeps a log of public NixOS channels joined the room. | 18:44:11 |
| spacesbot - keeps a log of public NixOS channels | 19:00:08 |
| @gytis-ivaskevicius:matrix.org invited fufexan. | 19:23:11 |
| fufexan joined the room. | 19:23:39 |
fufexan | hello there! I have a problem with flake-utils-plus and I was told to consult with David Arnold. this is what I'm getting on nix flake show:
git+file:///home/mihai/Documents/code/git/nur
├───overlay: Nixpkgs overlay
├───packages
│ ├───aarch64-linux
error: attribute 'filterPackages' missing
at /nix/store/i4ihaf9zkrrddjqbnhcxpwrwbfpr2qhb-source/lib/fromOverlays.nix:39:12:
38| **/
39| let
| ^
40|
any idea why this happens?
| 19:27:58 |
David Arnold (blaggacao) | Hi & Welcome! Sure, I can identify filterPackages which was an addition to numtide/flake-utils that I made. Can you check if you have the latest numtide/flake-utils` pinned? | 19:40:23 |
David Arnold (blaggacao) | * Hi & Welcome! Sure, I can identify `filterPackages` which was an addition to `numtide/flake-utils` that I made. Can you check if you have the latest `numtide/flake-utils` pinned in your `flake.lock` file? | 19:40:56 |
fufexan | it seems like it's not the latest. I have c6169a2 while the latest is f7e004a | 19:42:00 |
David Arnold (blaggacao) | nix flake lock --update-input utils might be the command (from the top of my head on the cel in the garden taking a sunbath) | 19:42:00 |
David Arnold (blaggacao) | 😎 | 19:42:19 |
fufexan | okay, that's progress | 19:42:46 |
fufexan | but I get a new error now | 19:42:50 |
David Arnold (blaggacao) | 😁 | 19:42:55 |
fufexan | error: value is a function while a set was expected
at /nix/store/i4ihaf9zkrrddjqbnhcxpwrwbfpr2qhb-source/lib/fromOverlays.nix:53:29:
52| let
53| allOverlays = attrValues overlays;
| ^
54|
| 19:42:55 |
fufexan | is it a problem that I passed self.overlay to fromOverlays? | 19:43:23 |
fufexan | Gytis told me that it can be either | 19:43:31 |
fufexan | * Gytis told me that it can be either overlay or overlays | 19:43:40 |
David Arnold (blaggacao) | Wait a sec, need to refresh working memory over here. | 19:43:48 |
fufexan | sure thing | 19:43:52 |
fufexan | seems like it doesn't throw any error when I use overlays andoverlays = utils.lib.exporters.internalOverlays { inherit (self) pkgs inputs; }; | 19:45:56 |
fufexan | but packages.${system} is empty 🤔 | 19:46:11 |
David Arnold (blaggacao) | So memory refresh resulted in:
- First the contructor needs to consume
self.overlays to become a builder
- Then the builder needs to consume
channels to build
| 19:47:27 |
fufexan | right, it does that | 19:47:59 |