Skip to content

Commit

Permalink
Merge pull request #315 from snyk/fix/update-nix-flake
Browse files Browse the repository at this point in the history
fix: update nix flake after dependency upgrade
  • Loading branch information
jgresty authored Nov 7, 2023
2 parents 04f2436 + fe75e7d commit 08ab37f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 9 deletions.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildGoModule rec {
version = builtins.substring 0 8 lastMod;
src = ./.;

vendorSha256 = "sha256-uDM4svFIGn3kS0ygA6aDCDI8OVCrxzHmLkc+6XWdKB4=";
vendorSha256 = "sha256-QowTqiXNJ8G2X/UXhDnOVqL7AZdLcAhHwung5D8+4pI=";

meta = with lib; {
description = "API resource versioning tool";
Expand Down
30 changes: 24 additions & 6 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
stdenv lib python2 runCommand writeTextFile writeShellScript;
inherit pkgs;
libtool = pkgs.darwin.cctools;
nodejs = pkgs.nodejs-14_x;
nodejs = pkgs.nodejs;
};
in rec {
packages = flake-utils.lib.flattenTree {
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let
buildNodePackage = nodeEnv.buildNodePackage;
};
in pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [ go_1_19 envsubst spectral ];
nativeBuildInputs = with pkgs.buildPackages; [ go_1_21 envsubst spectral ];
shellHook = ''
export GOPATH="$HOME/.cache/gopaths/$(sha256sum <<<$(pwd) | awk '{print $1}')"
'';
Expand Down

0 comments on commit 08ab37f

Please sign in to comment.