30 Nov 2024 |
mwoodpatrickmx | In reply to @nzbr:nzbr.de Maybe try nix-channel --update . That might at least fix it by replacing the missing one with a new derivation Did not help | 19:46:04 |
1 Dec 2024 |
| @shawn8901:matrix.org left the room. | 00:08:05 |
mwoodpatrickmx | In reply to @mwoodpatrickmx:matrix.org Did not help I just updated to 24.11 and I'm still seeing this error:
error: … while evaluating the attribute 'nixos-wsl'
… while calling the 'import' builtin
… while evaluating the file '/nix/store/cp3hsjlm5gqfvyw4nn5y6ir3hhcvpj9z-nixos-wsl/nixos-wsl/default.nix':
… while evaluating the attribute 'defaultNix'
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:229:5:
228| rec {
229| defaultNix =
| ^
230| (builtins.removeAttrs result ["__functor"])
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: path '/nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl' is not valid
Running with:
nix-env --show-trace -qaP hello
I get:
… while evaluating the attribute 'nixos-wsl'
… while calling the 'import' builtin
… while evaluating the file '/nix/store/cp3hsjlm5gqfvyw4nn5y6ir3hhcvpj9z-nixos-wsl/nixos-wsl/default.nix':
… while evaluating the attribute 'defaultNix'
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:229:5:
228| rec {
229| defaultNix =
| ^
230| (builtins.removeAttrs result ["__functor"])
… in the left operand of the update (//) operator
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:231:7:
230| (builtins.removeAttrs result ["__functor"])
231| // (if result ? defaultPackage.${system} then { default = result.defaultPackage.${system}; } else {})
| ^
232| // (if result ? packages.${system}.default then { default = result.packages.${system}.default; } else {});
… while calling the 'removeAttrs' builtin
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:230:8:
229| defaultNix =
230| (builtins.removeAttrs result ["__functor"])
| ^
231| // (if result ? defaultPackage.${system} then { default = result.defaultPackage.${system}; } else {})
… from call site
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:224:10:
223| else if lockFile.version >= 5 && lockFile.version <= 7
224| then allNodes.${lockFile.root}
| ^
225| else throw "lock file '${lockFilePath}' has unsupported version ${toString lockFile.version}";
… while calling anonymous lambda
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:156:13:
155| builtins.mapAttrs
156| (key: node:
| ^
157| let
… in the condition of the assert statement
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:211:13:
210| if node.flake or true then
211| assert builtins.isFunction flake.outputs;
| ^
212| result
… while calling the 'isFunction' builtin
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:211:20:
210| if node.flake or true then
211| assert builtins.isFunction flake.outputs;
| ^
212| result
… while calling the 'import' builtin
at /nix/store/8kpx53qi52yhjai1vdw8zpa95iqa61bv-source/default.nix:167:19:
166|
167| flake = import (outPath + "/flake.nix");
| ^
168|
… while realising the context of path '/nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl/flake.nix'
error: path '/nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl' is not valid
| 13:44:16 |
K900 | Try nix-store -r /nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl | 13:48:25 |
mwoodpatrickmx | In reply to @k900:0upti.me Try nix-store -r /nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl I got this error:
nix-store -r /nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl don't know how to build these paths: /nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl error: build of '/nix/store/l2sfdsab1fh107f5r8za7pnv9a2xxnlg-nixos-wsl' failed
Are you able to reproduce my error?
| 23:39:55 |
2 Dec 2024 |
K900 | No, I am not | 05:36:44 |
| suswombat joined the room. | 19:41:24 |
suswombat | Hello | 19:41:32 |
suswombat | So this is like irc right? | 19:44:12 |
K900 | Kind of | 19:45:39 |
K900 | Better in some ways, worse in others | 19:45:46 |
suswombat | is there a nice client for both? | 19:46:23 |
K900 | Matrix has a thing called bridges that lets you join IRC rooms as if they're Matrix rooms | 19:46:54 |
K900 | And the bridge passes messages back and forth | 19:47:04 |
K900 | Not all rooms are bridged, but many are, and you can run your own bridge if you want | 19:47:16 |
suswombat | oh ok | 19:47:25 |
suswombat | so id need to find a nice client for matrix i guess | 19:47:45 |
suswombat | @K900 Thank you for clarifying | 19:48:58 |
suswombat | So i havent used nixos so far but i really like the idea of it and as i recently switched back to windows (from arch/ubuntu) id like to explore wsl. Is wsl-nixos only usefull or can i use it as a new "nixos" user aswell? | 19:51:37 |
suswombat | * So i havent used nixos so far but i really like the idea of it and as i recently switched back to windows (from arch/ubuntu) id like to explore wsl. Is wsl-nixos only usefull for nixos users or can i use it as a new "nixos" user aswell? | 19:51:49 |
K900 | You can | 19:53:08 |
K900 | But you'll probably be missing out on some of the advantages of NixOS, like declaratively configuring system services, because WSL doesn't really have any | 19:53:53 |
suswombat | ok. Im mostly intrested in the declarative package config and stuff (home manager) | 20:05:50 |
3 Dec 2024 |
| @declension:matrix.org left the room. | 12:00:48 |
7 Dec 2024 |
K900 | @nzbr (they/it) left a few more nitpicks on the two Rust PRs | 07:02:28 |
K900 | I can take over if you prefer | 07:02:38 |
nzbr (they/it) | I'll take a look at it later today | 14:41:00 |
| fallenbagel changed their display name from Fallenbagel to ފޯލަން ޓިމް. | 17:19:08 |
| fallenbagel changed their display name from ފޯލަން ޓިމް to Fallenbagel. | 17:19:35 |
| fallenbagel changed their display name from Fallenbagel to fallenbagel. | 17:20:51 |