Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mickours committed Feb 21, 2024
1 parent def592c commit 9c128e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 4 additions & 15 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Bebida Shaker";

# Nixpkgs / NixOS version to use.
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
inputs.flake-utils.url = "github:numtide/flake-utils";

outputs = { self, nixpkgs, flake-utils }:
Expand All @@ -18,8 +18,6 @@
pkgs.buildGoModule {
pname = "bebida-shaker";
inherit version;
# In 'nix develop', we don't need a copy of the source tree
# in the Nix store.
src = ./.;
#src = fetchFromGitHub {
# owner = "RyaxTech";
Expand All @@ -29,18 +27,9 @@
#}

checkPhase = "";

# This hash locks the dependencies of this package. It is
# necessary because of how Go requires network access to resolve
# VCS. See https://www.tweag.io/blog/2021-03-04-gomod2nix/ for
# details. Normally one can build with a fake sha256 and rely on native Go
# mechanisms to tell you what the hash should be or determine what
# it should be "out-of-band" with other tooling (eg. gomod2nix).
# To begin with it is recommended to set this, but one must
# remeber to bump this hash when your dependencies change.
# vendorSha256 = pkgs.lib.fakeSha256;

vendorSha256 = "sha256-F9843vH95xAsvtEsnO6LiSu6MjAg0Ax55l02U/zoFCA=";
# vendorHash = null;
# vendorHash = pkgs.lib.fakeHash;
vendorHash = "sha256-n+Pe2nVWlwDLPbzaWTSYtMyYLzMpC1H+oilg7YJhftI=";
};
bebidaShakerModule = { config, lib, pkgs, ... }:
let
Expand Down

0 comments on commit 9c128e1

Please sign in to comment.