Skip to content

Commit

Permalink
mrow
Browse files Browse the repository at this point in the history
  • Loading branch information
thexyno committed Jun 18, 2024
1 parent 25b1d18 commit 912bb9b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 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.

11 changes: 7 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "A simple Go package";

# Nixpkgs / NixOS version to use.
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";

outputs = { self, nixpkgs }:
let
Expand Down Expand Up @@ -111,6 +111,7 @@
src = ./.;
distPhase = "true";
installPhase = "true";
doCheck = false;
fixupPhase = "true";
buildPhase = ''
export HOME=$(mktemp -d)
Expand All @@ -126,7 +127,9 @@
# In 'nix develop', we don't need a copy of the source tree
# in the Nix store.
src = ./.;
nativeBuildInputs = [ pkgs.installShellFiles pkgs.makeWrapper pkgs.quicktemplate pkgs.pkg-config ];
nativeBuildInputs = let
quicktemplate = pkgs.quicktemplate.overrideAttrs (prev: curr: { doCheck = false; });
in [ pkgs.installShellFiles pkgs.makeWrapper quicktemplate pkgs.pkg-config ];
buildInputs = [ pkgs.libwebp ];

preConfigure = ''
Expand All @@ -150,9 +153,9 @@
# 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;
vendorHash = "sha256-PafmHjr0D69Pdp5FAwSC/2RtPBUAdbtDq7yEngteXNk=";

vendorSha256 = "sha256-PafmHjr0D69Pdp5FAwSC/2RtPBUAdbtDq7yEngteXNk=";
#vendorSha256 = "sha256-PafmHjr0D69Pdp5FAwSC/2RtPBUAdbtDq7yEngteXNk=";
};
});

Expand Down

0 comments on commit 912bb9b

Please sign in to comment.