| 2 Feb 2025 |
K900 ⚡️ | Both? | 11:58:09 |
| @raboof:matrix.org changed their display name from raboof@FOSDEM to raboof. | 22:18:17 |
| 3 Feb 2025 |
| @anarcompiler:beeper.com joined the room. | 07:00:59 |
| 5 Feb 2025 |
| @13k:matrix.org left the room. | 07:34:33 |
| 7 Feb 2025 |
| vxtls joined the room. | 18:33:56 |
| jsnf joined the room. | 21:30:00 |
| diamond (it/its) changed their profile picture. | 23:11:04 |
| diamond (it/its) changed their profile picture. | 23:19:12 |
| 11 Feb 2025 |
| @lunchtime:envs.net left the room. | 19:06:53 |
| 13 Feb 2025 |
Gaétan Lepage | Is there a simple way to skip specific go tests? | 13:30:28 |
Paul Meyer (katexochen) | https://nixos.org/manual/nixpkgs/unstable/#ssec-skip-go-tests | 13:31:19 |
Gaétan Lepage | Thanks! | 13:31:43 |
| 15 Feb 2025 |
| BenjB83 joined the room. | 10:16:33 |
| BenjB83 changed their display name from Benjamín Buske to BenjB83. | 10:43:07 |
| 17 Feb 2025 |
| Marcus changed their profile picture. | 21:38:21 |
| 19 Feb 2025 |
| vpio joined the room. | 00:19:28 |
| 21 Feb 2025 |
| @anarcompiler:beeper.com left the room. | 16:10:01 |
| Luna joined the room. | 19:16:24 |
| 22 Feb 2025 |
| narg joined the room. | 12:22:47 |
Paul Meyer (katexochen) | https://github.com/NixOS/nixpkgs/pull/384229 | 13:07:09 |
| 24 Feb 2025 |
| liberodark joined the room. | 10:59:36 |
liberodark | Hi | 10:59:40 |
liberodark | Sorry for the inconvenience.
But I have a question, I have an app that is used in production.
This one would have to migrate to nixos.
But it is only built in Go 1.24 while we are in 24.11.
What would be the best approach?
Can we backport Go 1.24 or should another way be used? | 11:01:31 |
liberodark | Best Regards | 11:01:34 |
liberodark | Is related to this PR : https://github.com/NixOS/nixpkgs/pull/384733 | 11:10:05 |
| @raboof:matrix.org left the room. | 12:22:38 |
diamond (it/its) | you can add a new flake input just for nixpkgs/nixos-unstable as like nixpkgs-unstable then do
let
unstable = nixpkgs-unstable.legacyPackages.<ARCH>;
buildGo124Module = unstable.buildGoModule.override { go = unstable.go_1_24; };
in
...
| 19:32:32 |
| Saturn changed their profile picture. | 22:36:36 |
| 25 Feb 2025 |
| gigahawk joined the room. | 08:25:44 |
gigahawk | is there a way to make a non-fixed-output derivation with buildGoModule? I have a package with dependencies that need to be patched to point to nix store 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 packages = rec { env86 = pkgs.buildGoModule { name = "env86"; # TODO: Real version version = "1"; src = ./.; buildInputs = with pkgs; [ gtk3 ];
# HACK: this package uses purego to link libraries at runtime,
# which will fail since we have no global libs, patch the library
# paths to point to nix store
modPostBuild = ''
sed -i 's|"libgtk-3.so"|"${pkgs.gtk3}/lib/libgtk-3.so"|' vendor/tractor.dev/toolkit-go/desktop/linux/linux.go
'';
vendorHash = pkgs.lib.fakeHash;
outputHashMode = null;
outputHashAlgo = null;
outputHash = null;
# HACK: guest86 needs to be built externally
preBuild = ''
rm -r cmd/guest86
'';
};
default = env86;
}; but this still results in illegal path references in fixed-output derivation
| 08:26:16 |