Skip to content

Commit

Permalink
Move Nix derivation to use buildGoModule function and pin Go to 1.22.7
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Wilczyński <[email protected]>
  • Loading branch information
kwilczynski committed Oct 10, 2024
1 parent 57581fc commit 62c6834
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion nix/derivation.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv
, pkgs
}:
with pkgs; buildGo122Module {
with pkgs; buildGoModule {
version = "1.22.7";
name = "cri-o";
src = ./..;
vendorHash = null;
Expand Down
10 changes: 5 additions & 5 deletions nix/nixpkgs.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"url": "https://github.com/nixos/nixpkgs",
"rev": "953cb16a5e703be81cf2ce4fee32465c83c80b11",
"date": "2024-02-27T09:43:41-03:00",
"path": "/nix/store/sdwwm4vljzmv99livrir8nn5ivycl1ly-nixpkgs",
"sha256": "1jygmskxrg2jb01mp5g79q431pvp3iw30qxrdixj4nj7rh6424in",
"hash": "sha256-NhJBDMxHWiJ7bLljMHgcd98wCE7nlVsDWFK83Keuz8s=",
"rev": "51666317f496aed4b86dda778f91b8d4a09b209b",
"date": "2024-10-10T18:47:24+02:00",
"path": "/nix/store/ffphx7yhd3x8ai5f9hj0pks3knjyrpzh-nixpkgs",
"sha256": "14pdp02cc508qkvkh2178g0nvq1l5rb570rb727gxw697mlwzk1n",
"hash": "sha256-NszPaT3J8P6OOCuDU1YuNOBtwUMnCDj3xAgUxgS47ZI=",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
Expand Down

0 comments on commit 62c6834

Please sign in to comment.