summary refs log tree commit diff
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-03-20 11:14:30 -0400
committerfigsoda <figsoda@pm.me>2023-03-20 11:20:36 -0400
commit5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3 (patch)
tree347dd76e5cc08da87caa42a806d9395163c6bfc3
parent8501a1645abcc4ad91c9eadd53061124f5bebb3b (diff)
downloadnixpkgs-5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3.tar
nixpkgs-5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3.tar.gz
nixpkgs-5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3.tar.bz2
nixpkgs-5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3.tar.lz
nixpkgs-5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3.tar.xz
nixpkgs-5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3.tar.zst
nixpkgs-5a35e7ea4aa482075316a5a2fd1cea0e9dbfbae3.zip
nixpkgs-review: 2.8.0 -> 2.9.0
Diff: https://github.com/Mic92/nixpkgs-review/compare/2.8.0...2.9.0

Changelog: https://github.com/Mic92/nixpkgs-review/releases/tag/2.9.0
-rw-r--r--pkgs/tools/package-management/nixpkgs-review/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/tools/package-management/nixpkgs-review/default.nix b/pkgs/tools/package-management/nixpkgs-review/default.nix
index 95a86032c13..a864f02ea4f 100644
--- a/pkgs/tools/package-management/nixpkgs-review/default.nix
+++ b/pkgs/tools/package-management/nixpkgs-review/default.nix
@@ -3,31 +3,35 @@
 , fetchFromGitHub
 
 , bubblewrap
+, nix-output-monitor
 , cacert
 , git
 , nix
 
 , withSandboxSupport ? false
+, withNom ? false
 }:
 
 python3.pkgs.buildPythonApplication rec {
   pname = "nixpkgs-review";
-  version = "2.8.0";
+  version = "2.9.0";
 
   src = fetchFromGitHub {
     owner = "Mic92";
     repo = "nixpkgs-review";
     rev = version;
-    sha256 = "sha256-v8IRRmONb10sPndfsuaUYMrGbbosj48cbfgANZCtIN0=";
+    sha256 = "sha256-SNAroKkPXiX5baGPRYnzqiVwPwko/Uari/tvjIU7/4k=";
   };
 
   makeWrapperArgs =
     let
-      binPath = [ nix git ] ++ lib.optional withSandboxSupport bubblewrap;
+      binPath = [ nix git ]
+        ++ lib.optional withSandboxSupport bubblewrap
+        ++ lib.optional withNom nix-output-monitor;
     in
     [
       "--prefix PATH : ${lib.makeBinPath binPath}"
-      "--set NIX_SSL_CERT_FILE ${cacert}/etc/ssl/certs/ca-bundle.crt"
+      "--set-default NIX_SSL_CERT_FILE ${cacert}/etc/ssl/certs/ca-bundle.crt"
       # we don't have any runtime deps but nix-review shells might inject unwanted dependencies
       "--unset PYTHONPATH"
     ];