Skip to content

Commit 90cffe0

Browse files
committed
Fix gotk4-nix.lib.mkLib call
1 parent f1f8cce commit 90cffe0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flake.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
inherit pkgs;
3939
src = self;
4040
};
41+
42+
goPackage = "go_1_24";
4143
in
4244

4345
(flake-utils.lib.eachDefaultSystem (
@@ -48,7 +50,7 @@
4850
gotk4-nix.overlays.patchelf
4951
];
5052

51-
go = pkgs.go_1_24;
53+
go = pkgs.${goPackage};
5254
in
5355

5456
{
@@ -91,7 +93,7 @@
9193
lib = gotk4-nix.lib.mkLib rec {
9294
pkgs = nixpkgs.legacyPackages.${builtins.currentSystem};
9395
base = baseFunc pkgs;
94-
inherit go;
96+
go = pkgs.${goPackage};
9597
};
9698
};
9799
}

0 commit comments

Comments
 (0)