about summary refs log tree commit diff
path: root/pkgs/by-name/sn/snyk/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sn/snyk/package.nix')
-rw-r--r--pkgs/by-name/sn/snyk/package.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/by-name/sn/snyk/package.nix b/pkgs/by-name/sn/snyk/package.nix
index b974fd0ee5f7..de9ae70d9a4a 100644
--- a/pkgs/by-name/sn/snyk/package.nix
+++ b/pkgs/by-name/sn/snyk/package.nix
@@ -8,7 +8,7 @@
 }:
 
 let
-  version = "1.1293.1";
+  version = "1.1294.0";
 in
 buildNpmPackage {
   pname = "snyk";
@@ -18,10 +18,10 @@ buildNpmPackage {
     owner = "snyk";
     repo = "cli";
     rev = "refs/tags/v${version}";
-    hash = "sha256-Vgt9h0LLIC5I9NZZKKWD9b1xnNOSkxApLxSGf2C0ODk=";
+    hash = "sha256-AO36b3VWdklfMjSEE3JMZUVS1KmBSra2xX6hqlf3OUM=";
   };
 
-  npmDepsHash = "sha256-1YtyQg14vj85KtOXP93vLkqIMmT+8DAJdG/ql+1ooyU=";
+  npmDepsHash = "sha256-xGRmZyDXZVuFdpT1LcSLBh9bY86rOjGvVjyCt9PSigg=";
 
   postPatch = ''
     substituteInPlace package.json \
@@ -31,7 +31,7 @@ buildNpmPackage {
   env.NIX_CFLAGS_COMPILE =
     # Fix error: no member named 'aligned_alloc' in the global namespace
     lib.optionalString (
-      stdenv.isDarwin && stdenv.isx86_64
+      stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64
     ) "-D_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION=1";
 
   npmBuildScript = "build:prod";