| 18 Feb 2026 |
Artturin | .withPackages discards splicing so you have to python3.pythonOnBuildForHost or buildPackages.python3 | 12:01:02 |
Leonard-Orlando Menzel | the package name is just passes | 12:09:15 |
Artturin | Doesn't look related to gnome :P | 12:11:04 |
Artturin | Why does it not launch | 12:11:09 |
Artturin | Can't cross on my laptop atm | 12:11:14 |
Artturin | Wrong python in some place I assume | 12:13:05 |
Artturin | Shebang? add python3 to buildInpus and patchShebang --host the file in bin | 12:13:34 |
Artturin | * Shebang? add python3 to buildInputs and patchShebang --host the file in bin | 12:13:53 |
Leonard-Orlando Menzel | i now looked at .passes-wrapped the shebang indeed is the x86_64 (builder not host) version of python | 12:14:50 |
Leonard-Orlando Menzel | will try that | 12:14:59 |
Leonard-Orlando Menzel | patchShebangs didnt work (i guess because the shebang allready is a store path) but replacing it with sed did the trick. opened a merge request https://github.com/NixOS/nixpkgs/pull/491759 | 13:19:33 |
Artturin | patchShebangs has --update | 13:20:47 |
Artturin | I forgot | 13:20:55 |
Artturin | * I forgot to mention it https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/patch-shebangs.sh | 13:21:20 |
Artturin | But yours is fine too | 13:24:35 |
Artturin | for patchShebangs you need to add the (python3.withPackages (pp: [ pp.pygobject3 ])) to buildInputs | 13:25:01 |
Artturin | Which you did 👍️ | 13:25:42 |
Leonard-Orlando Menzel | tested again, still works :) thanks for helping | 13:35:24 |
| 19 Feb 2026 |
| nodtem66 joined the room. | 10:41:32 |
| @jonhermansen:matrix.org left the room. | 18:27:51 |
| 21 Feb 2026 |
| h7x4 changed their profile picture. | 19:25:59 |
| h7x4 changed their profile picture. | 19:30:16 |
| h7x4 changed their profile picture. | 19:33:40 |
| 22 Feb 2026 |
| Oaken joined the room. | 02:54:21 |
| Slushee changed their profile picture. | 20:30:27 |
| Slushee changed their profile picture. | 23:03:42 |
| 23 Feb 2026 |
Theo Paris | Not sure if this is the right place for this but: I was testing github.com/NixOS/nixpkgs/pull/463361 with a nixos config flake using
nixpkgs.localSystem = {
system = "x86_64-linux";
useLLVM = true;
linker = "lld";
};
And I ran into the following error:
… while evaluating the option `home-manager.users.theo.i18n.glibcLocales':
… while evaluating the option `i18n.glibcLocales':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: function 'anonymous lambda' called with unexpected argument 'nativeBuildInputs'
at /nix/store/hq30166l4qc2l2va8v4lj9fyg894wdqs-source/pkgs/build-support/fetchurl/boot.nix:10:1:
9|
10| {
| ^
11| url ? builtins.head urls,
| 00:58:11 |
Theo Paris | It seems like it should work with crossSystem but that adds gcc's bootstrap to the mix as well as llvm | 00:58:45 |
Theo Paris | * It seems like it should work with crossSystem but that adds gcc's bootstrap to the mix as well as llvm - I just wanted to have a "(mostly) pure llvm" system. | 00:59:16 |
Theo Paris | * It seems like it should work with crossSystem but that adds the host gcc bootstrap to the mix as well as llvm - I just wanted to have a "(mostly) pure llvm" system. | 00:59:32 |