2 Dec 2021 |
@aynish:sealight.xyz | i mean, i didn't change flake.lock by hand, just ran nix flake update | 13:12:13 |
@aynish:sealight.xyz | which hash should digga be locked to? | 13:17:10 |
@teutat3s:pub.solar | "locked": {
"lastModified": 1638227261,
"narHash": "sha256-CbleULqH3NRnnLdwqHqi0qk1sEmhyXE8ZOzjofilGM4=",
"owner": "divnix",
"repo": "digga",
"rev": "1ce6cef4230f82cb986ef3d08d57a2e3a0e6e80d",
"type": "github"
},
| 13:19:51 |
@aynish:sealight.xyz | same issue :/ | 13:22:37 |
@aynish:sealight.xyz | i think i figured it out. im on an older version of devos it seems... should really keep my branch up to date | 13:44:35 |
@aynish:sealight.xyz | thank you for your help teutat3s :) | 13:44:44 |
@teutat3s:pub.solar | aynish: you’re welcome | 14:31:40 |
David Arnold (blaggacao) | https://github.com/NixOS/nix/pull/5713 | 15:21:58 |
David Arnold (blaggacao) | https://github.com/NixOS/nix/pull/5709 | 15:22:10 |
David Arnold (blaggacao) | Now, how do we make sure, that we actually use them? | 15:22:26 |
| janus joined the room. | 16:01:14 |
janus | you cant open PRs to nix or what? j/w | 16:05:43 |
janus | Hello all, does anyone know of examples with deploy-rs to spin up a bunch of qemu nodes for testing p2p stuff our or something similar? | 16:10:41 |
@teutat3s:pub.solar | In reply to @blaggacao:matrix.org Now, how do we make sure, that we actually use them? Probably by pinning to a nixpkgs commit with nix nixUnstable pre-2.5 that has those changes? | 16:56:08 |
David Arnold (blaggacao) | The thing is, that we can't really force a nixpkgs version down peoples throat since that coupling has no legit basis. | 17:06:00 |
David Arnold (blaggacao) | we could resort back to shipping our pinned nix version again, but that brings us also back into the realm of "bootstrapping nix" problems (potentially). | 17:06:53 |
David Arnold (blaggacao) | I'm not sure if the follows thing is affecting us currently. | 17:07:08 |
@teutat3s:pub.solar | But don’t we give a starting point commit of nixpkgs with the inputs „nixos“ and „latest“? | 17:07:15 |
David Arnold (blaggacao) | My fix is only really neede for local pre-flight checks. | 17:07:25 |
David Arnold (blaggacao) | In reply to @teutat3s:pub.solar But don’t we give a starting point commit of nixpkgs with the inputs „nixos“ and „latest“? Definitely, but I'd see that rather as a suggested starting point, with compatibilitiy on other versions on a best-effort basis. | 17:08:23 |
David Arnold (blaggacao) | ^^ no real compat guarantees. | 17:08:33 |
David Arnold (blaggacao) | ^^ that also makes me think if we can create a compat catchall patch layer, so that we can maintain a central file in digga where all the compat stuff could go. A bit tricky, but collecting it structurally and from the community this way, might at least push the boundaries of what "best-effort" actually means. | 17:09:47 |
David Arnold (blaggacao) | (not only for nix ,but also for other things that exhibit drift across nix / hm /dawin versions) | 17:10:19 |
| Jarosław Wygoda joined the room. | 21:58:29 |
Jarosław Wygoda | Hi all! I'd like to to build an sd-aarch64 image on x86_64 machine. nixos-generators uses --argstr to specify the target system but it doesn't seem to be compatible with flakes [2]. Is there some workaround for this issue?
[1] https://github.com/nix-community/nixos-generators/blob/ea58f35cba7365b2a661f2bd17fb35cbc7bff572/nixos-generate#L158
[2] https://discourse.nixos.org/t/passing-options-to-flakes/7579 | 22:17:13 |
@danielphan.2003:matrix.org | In reply to @jwwygoda:matrix.org Hi all! I'd like to to build an sd-aarch64 image on x86_64 machine. nixos-generators uses --argstr to specify the target system but it doesn't seem to be compatible with flakes [2]. Is there some workaround for this issue?
[1] https://github.com/nix-community/nixos-generators/blob/ea58f35cba7365b2a661f2bd17fb35cbc7bff572/nixos-generate#L158
[2] https://discourse.nixos.org/t/passing-options-to-flakes/7579 Add boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; to your host config and it should be able to compile. | 22:52:38 |
3 Dec 2021 |
Jarosław Wygoda | I've already done that. I'm getting error: Package ‘uboot-rpi_3_defconfig-2021.04’ in /nix/store/bwi8ibq0f0phc01cd6mqsz5hfm27zwgr-source/pkgs/misc/uboot/default.nix:101 is not supported on ‘x86_64-linux’, refusing to evaluate. when executing bud build rpi3 sd-aarch64 . nixos-generators suggest using the --system flag. I don't know how to pass it to bud.
https://github.com/nix-community/nixos-generators/tree/ea58f35cba7365b2a661f2bd17fb35cbc7bff572#cross-compiling
| 09:41:38 |
4 Dec 2021 |
@gytis-ivaskevicius:matrix.org | https://github.com/NixOS/nix/pull/5577 | 06:02:53 |
@gytis-ivaskevicius:matrix.org | poggers | 06:02:56 |
David Arnold (blaggacao) |
Right associativity has an interesting use case in designing small DSLs around nix use cases
| 20:28:11 |